Re: [appfuse-user] javax.servlet.ServletException: Java heap space

2008-09-30 Thread BruceLee
Joachim, thanks for advice. However, it happens only on hosting server which I don't have control for debug. Is any general configuration I can try? or some typical mistakes I might make in coding? -Mike Joachim Ansorg-3 wrote: > > Hi, > I think the best way to debug this is to use a profil

Re: [appfuse-user] javax.servlet.ServletException: Java heap space

2008-09-29 Thread Joachim Ansorg
Hi, I think the best way to debug this is to use a profiler. I use YourKit. But a profiler like the one included with netbeans or with Java 6u7 should work as well, I guess. Or use jconsole from the java sdk, which should work as well. Regards, Joachim Dear Team, I tried hard for this heap s

[appfuse-user] javax.servlet.ServletException: Java heap space

2008-09-29 Thread BruceLee
Dear Team, I tried hard for this heap space issue for several days. Also searched this forum but couldn't find the proper answer. On my hosting server, I got this error after I viewed 2 or 3 pages. My main page is always OK though. I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k -XX:MaxPermSize=12