Do not keep either objects nor the intermediate zip file in memory, and stream both the final zip and the objects as they are read. Existing code can easily OOM the server.
38 KiB
38 KiB