This content has been marked as final. Show 2 replies
intensive. I am basically searching through zipI think it is pretty I/O intensive...hence slower
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.
to see what I can do to increase performance. I amParameters look ok. I am not sure what
using the following parameters:
-Xms512m -Xmx1024M -Xss16M -XX:ThreadStackSize=256
will do as -Xss also sets the stack size? you can also try to pass -server and keep both Xms and Xmx to 1024 and see if it brings any improvement.
If it's CPU-bound I wouldn't expect any improvement at all from allocating more memory. If it's I/O bound ditto. If it's GC-bound I would expect an improvement.