Have you tried to increase your JVM heap size (-Xmx) and the Thread stack size (the 
-Xss option)?

Eric

Macromedia Incorporated



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:42 AM
To: JRun-Talk
Subject: StringBuffer + java.lang.OutOfMemoryError


I have a page that builds a query in a StringBuffer and stores the sql statement
in a session variable. It worked fine until now.  I get once in a while the
following exception:
Exception thrown processing JSP page.
java.lang.OutOfMemoryError
           at java.lang.StringBuffer.append(StringBuffer.java, Compiled Code)

I end up having to restart the server (sometimes twice).  What can I do to
troubleshoot and avoid this problem?  Could it be the garbage collection not
working properly?

Thanks in advance


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to