srikanth-lingala / zip4j

A Java library for zip files and streams
Apache License 2.0
2.06k stars 310 forks source link

zip4j memory usage #527

Open sj-github123 opened 10 months ago

sj-github123 commented 10 months ago

Dear contributors,

First of all, thank you for giving us, such a very handy library!

I am looking for an information on memory usage by zip4j. I intend to use zip4j in multithreaded use case and I am looking for answers to below questions @srikanth-lingala could you pleas help clarify.

  1. Does zip4j use JVM memory or OS memory to create zip file?
  2. if it's using JVM memory, does it buffer the memory? if yes, does it consume same buffer while creating zip?
  3. Can zip4j run on separate disk volume than application server?

Thank you