On Wednesday, Dec 18, 2002, at 09:43 US/Pacific, Mark Johnson wrote:
> "Error","jrpp-293","12/18/02","12:28:21",,"null The specific sequence 
> of
> files included or processed is: null "
> java.lang.OutOfMemoryError
>
> I had the following error occur yesterday and today once.  When it 
> happens
> you have to do a complete CF cycle.  The ColdFusion Java VM MAX 
> setting is
> still at its default of 512Mb and the machine has 1gig of ram.  When i
> checked the jrun.exe process it was running around 360Mb.  Any ideas?

Java memory usage will ebb and flow depending on activity. I suspect 
that at 12:28 there was sufficient activity on your system to require 
more than 512Mb RAM. By the time you checked later, that memory usage 
had shrunk back to 360Mb. This is not unusual.

Since your machine has virtual memory, you can safely push the JVM max 
up quite a bit and heavy load will then just slow the system down 
rather than run it up against the memory limit. I think the maximum 
allowable is around 3600Mb (it's a certain amount under 4Gb but I can't 
quite remember what the threshold is).

In order to scale your system, you could look at CFMX for J2EE which 
allows multiple instances and therefore multiple JVMs to service 
traffic on your website. See my blog for a brief note and a reference 
to a MM article on this:

http://www.corfield.org/blog/2002_12_01_archive.html#86145208

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/

Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to