First reaction: OutOfMemory errors are *usually* the result of a low PermGen
setting on your JVM.

Now, on to your question.  If you're running unmodified CFMX, then you're
using the 1.4.2 JDK, so your options are limited.  If you've upgraded to the
1.5 JDK then you have many options for probing deeper into the JVM guts to
find the problem.  With the 1.4, then all you have is the code the Gabriel
posted earlier. 

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 20, 2006 10:00 AM
To: CF-Talk
Subject: Monitoring JRun Memory Usage

I'm running CFMX7.0.1 Enterprise on Windows Server 2003.

I'd like to monitor - and log - JRun memory usage.  coldfusion died on us
this morning for some reason - I can't find any indication of what caused
the error other than the time it occurred (9:16am) when an OutOfMemory error
occurred.

I thought it would be useful to monitor memory usage every minute or so and
record it to a log... timestamp,memory

Anyone got any ideas of the simplest way to do this?  I do have Perl
installed on the server so that might be an option.

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230208
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to