Take Tomcat out of the picture and test with mxmlc after adding the following argument to the java.args argument in jvm.config located in the same directory as mxmlc.
 
-Xmx512m
 
Note that args on that property are space delimited.
 
Run mxmlc again and see if you run out of memory.
 
 
Carson
 
____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington
Sent: Wednesday, April 05, 2006 9:41 AM
To: [email protected]
Subject: [flexcoders] Re: OutOfMemoryError

Peter,
 
I am running the application in Flex 1.5 and have installed Flex 2.0 for a different project.
It doesn't matter how I run the app, I always get an OutOfMemory Error. I've tried running from Flex Builder, by typing the mxml filename in the browser address field, by bringing up the app via a jsp. I've tried it in IE and Firefox.  I've removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile it still gives me an error.
 
Yes, I have "save generated as" and "save swf file" both enabled to help me track down this problem.
Someone else asked about Memory. I've upped the memory in Tomcat to be above and beyond what my colleagues are running. They can still get the app to run on their PC. The only differences are what software we have installed on our machines outside of this project.
 
Thanks,
Kim
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Hi Kim,

> How are you compiling the application? The reason I ask is that it's not
> clear from your email what is reporting this error or where/how it is
> reported to you...

> When you say that you tried to run it in a browser, are you relying on
> the webtier compiler by browsing to a .mxml file to dynamically compile
> your application to a SWF?  Or are you using JSP tags to dynamically
> general .mxml (If so, then I'm confused as you say you can see the .as
> file being generated... is this simply because you have keep generated
> actionscript enabled?). Or are you using Flex Builder?

> Actually, I need further clarification - are you using Flex 2 to compile
> this application, or did you simply install Flex 2 in addition to/next
> to a Flex 1.5 application and now the Flex 1.5 application is reporting
> this error?



>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Kim Reddington
> Sent: Wednesday, April 05, 2006 10:28 AM
> To: [email protected]
> Subject: [flexcoders] OutOfMemoryError
>
>
> I have a large application that I've been running for over a year. All
> of a sudden the app stopped running. I am getting an OutOfMemory Error
> when I tried to run in any browser.  My first thought was it must have
> been the changes I've made. Luckily, we are using CVS, so I grabbed a
> version of our software from a couple weeks ago.  Well, the out of
> memory error is still there. So then I thought maybe it's because I
> installed Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder,
> FDS, etc).  The application was still erroring out.

> In trying to debug what is happening, I can see that the .as file is
> being generated, but the SWF file is not being created.  The comiler is
> timing out before it completes the SWF.

> If anyone has any ideas of what I could look at, try, whatever.  I been
> trying to figure this out for a couple of weeks and have run out of
> ideas.  Has anyone seen this before? Has anyone had similar experiences
> after installing Flex 2?  What might have changed?

> Thank you so much for your help,
> Kim
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>  
> *  Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>   
> *  To unsubscribe from this group, send an email to:
>   [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>   
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
> ________________________________
>
 

_________________________________
Kim Reddington
Principal Consultant/Developer
Deluxe Technologies
http://www.deluxetechnologies.com
508-231-8744
 

 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to