What version JVM are you using.  I use JRockit with Tomcat for my best
results on the servers (regular Java apps).  No need to set XMS and
XMX settings on JRockit as the default settings group the heap size
for you (there are pros and cons for this, but you wont get
OutOfMemory very easily).

I use Sun's JVM on my dev boxes for quicker compiling.  Dave and Clint
are pointing out that an ANT script or some kind of precompiling is
usually faster way of going about things (definitely for big apps).

Renaun

--- In flexcoders@yahoogroups.com, Jeff Krueger <[EMAIL PROTECTED]>
wrote:
>
> All,
>  
>     I am trying to run basically the same web app as two instances
on the same server.  So I have the same wars but with different
web.xml for config and different db connections.  But only one of the
apps will start, and when the other web is hit for the first time I
get a out of memory error
>  
> 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]:
Servlet.service() for servlet FlexMxmlServlet threw exception
> java.lang.OutOfMemoryError
> 
>  
> This is on tomcat 5 and I have the mem config for it set to -Xms512m
-Xmx1536m
>  
> It won't even create the generated files?  Can you run two flex apps
on one server?  Should they share cache?  Should I not dup all the
flex parts for each app.  Both are are 100% complete.
>  
> Any thoughts or help would be helpful.
>  
> Thanks
>  
> Jeff
>






--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to