Hi,
I was trying to profile as well as evaluate different versions of
Java for my app.
Started the app with '-Xms 100 -Xmx 300' on windows. With JDK 1.4 with a few transactions, this memory was used up and GC had to kick in. This repeats with transactions.
Switched to JDK 1.5. This time, even with lot of transactions, the heap mem used stayed below 10M! And you could see partial GC kicking in at times.
This proved a considerable improvement. Hence thought of trying this out on Linux, which is my deployment environment.
Started the app with '-Xms 100 -Xmx 300'. But this time, on both JDKs with a few transactions, this memory was used up and GC had to kick in. This repeats with transactions!
I wonder why the significant performance difference is not showing in Linux?
Apart from -Xms and -Xms I am not using any other VM options. Any insight is helpful.