Tracy,

Thanks for your reply. I am using Tomcat. In XP's Control Panel-
System, I set the following environment variables:

JAVA_OPTS=-Xmx768m -Xms512m
CATALINA_OPTS=-mx1024m

I belive this has the same effect as what you suggested doing. Yet, 
I still get the OutOfMemory error for a very simple Flex app.

Thanks,
-Will

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> Using Tomcat?, if so:
> 
> 
> There have been a couple threads that indicate you should boost the
> memory settings:
> 
> Open the apache tomcat configuration app in sys tray, and on 
the "Java"
> tab, bump up the initial memory pool size and the maximum memory 
pool
> size to 512 Initial and 768 Max, click Ok
> 
> In \Program Files\Apache software Foundation\Tomcat
> 5.0\bin\catalina.bat, in the last section immediately after "rem 
Execute
> Java with the applicable properties", insert this line, set
> CATALINA_OPTS=-mx1024m. Save the file.
> 
> Tracy
> 
> -----Original Message-----
> From: wcucsd [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 15, 2005 7:06 PM
> To: [email protected]
> Subject: [flexcoders] Flex Builder Debugger giving OutOfMemory
> 
> 
> 
> flexcoders,
> 
> Using Flex Builder, I create a very simple Flex app with a canvas 
> and a button on the canvas. When I press Debug, it works a little 
> then gives this VM out of memory error. Any ideas how I can 
remedy 
> this? Here is the message returned by Flex Builder:
> 
> ====================================================
> Requested page cannot be displayed 
> 
> An unexpected error occurred that 
> prevented /simpleflexapp/SimpleFlexApp.mxml from being displayed. 
> 
> -------------------------------------------------------------------
--
> -----------
> 
> Servlet execution threw an exception
> 
> Technical Information:
> 
> HTTP Status Code: 500
> Exception Type: class java.lang.OutOfMemoryError
> Servlet Name: FlexMxmlServlet
> 
> Exception java.lang.OutOfMemoryError 
> (View stack trace)
> 
> ====================================================
> Thanks,
> -Will
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links





Reply via email to