Hi,
I'm using your jdk port (the last one). You can
see it at http://www.debriefing.com
(it's a new meta search engine.) . This site uses java servlets, and receives
more than 20000 calls each day on the Search servlet.
My problem is to set up the right -mx, -ms , -ss
and -oss parameters, in order to be ready for the huge traffic
increase.
Could you provide me with the default values ? I'm not sure
your port has the same values by default, which are:
ms=1M
mx=16M
oss=400k
ss=128k
I have noticed that if I set the mx parameter to 64M, the jdk
uses a lot of memory! This is not normal, because only 14 megs are allocated (I
saw this with the Runtime.totalmemory method).:
nobody 2325 24.3 20.8 74452 19960 ? R 05:35 7:24 /usr/local/jdk/bin/..
(74 megs!)
Do you think this is normal
? The jdk should get some memory from the OS when it actually needs
it.
Concerning the -noasyncgc option, is a program supposed to
work better with or without?
What is the effect of the following calls:
System.runFinalization();
System.gc();
Do these call immediately free some memory, if possible ? My
search servlet uses some memory, and I need to release it as soon as possible.
So, i think that If I combine the use of the asynchronous gc with some calls to
gc() and runFinalization(), it should work better. What is your
opinion?
Thanks for everything.
Bastien Duclaux