Hello,
I have deployed a EJB and annotate it for creating a WebService.
This service delivers huge amounts of data -> at least 1500 complex Objects for each request.
The service should be able to receive more than 20 requests a minute.
After the first 3 Minutes my maximum heap size is reached(1024), then it needs often more than ten minutes until glassfish is starting the garbage collection.
Here are my JVM settings:
-XX:MaxPermSize=192m
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Xmx1024m
-XX:NewRatio=2
Are there any possibilities to speed up the garbage collection interval?!
I am not very familiar with the settings of the glassfish application server.
Regards,
Conrad
[Message sent by forum member 'javanet007' (javanet007)]
http://forums.java.net/jive/thread.jspa?messageID=328020