5GB heap? Are you sure you need that much? What steps have you taken to correctly sizing the heap?
sorry, I paste the old configuration by mistake.
-d64 -XX:PermSize=128m -XX:MaxPermSize=256m -Xss256k
The machine is 64bits and have 7.5 GB of rams.
I'm trying to tune the GC but I still have no positive results.
Start with this presentation: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html
There are many topics in this forum that discuss heap sizing and tuning. I'll leave you to find those.
Thanks a lot PeterJ, I'll look into your presentation.