Experience w/ Zip files? VM settings?

I am not too familiar with VM options but I noticed that reading from Zip files is pretty process intensive. I am basically searching through zip files to find a file and then taking that inputstream for processing. I am basically looping through the zip file until i match the filename....pretty crazy.

Anyway, it is somewhat slower than I'd like so I want to see what I can do to increase performance. I am using the following parameters:

-Xms512m -Xmx1024M -Xss16M -XX:ThreadStackSize=256 -XX:MaxPermSize=256m

The machine I have is a single P4 3GHZ, ~3GB RAM.

Do those params look ok?

Thanks!

Michael

[647 byte] By [heyblueza] at [2007-11-26 19:14:33]
# 1
If you are doing this more than once then you could of course create an index by reading all of the zip files once and then creating a index to file locations. Then use that on subsequent reads.
jschella at 2007-7-9 21:15:36 > top of Java-index,Java HotSpot Virtual Machine,Specifications...