Alan Holden said the following on 12/19/2010 06:51 PM:
> java.lang.OutOfMemoryError: GC overhead limit exceeded
What do you have your session setting set to? I've seen problems like
this before on any website (including ACF8) when your site is being hit
hard by bots. I've noticed a dramatic up tick in "non-conforming" bots
hits my website properties in the past two weeks. One even crashed a
server by opening 50k sessions.
Anyways, you have "-Xms1024m -Xmx1024M" which tells Java to immediate
use up 1GB of memory since you have the min and max heap space the
same. How are you actually looking at the memory being used? If you
are just looking at the system's usage then you'll be fooled into
thinking that the 1GB is being used because the JVM has allocated 1GB
for usage. Here's a nice little UDF that can show how your heap is
being used.
<cffunction name="getMemoryData" access="public" returntype="struct"
output="false"
hint="Get memory information from the JVM.">
<cfset var jvm = StructNew() />
<cfset var runtime = CreateObject("java", "java.lang.Runtime") />
<cfset jvm["JVM - Used Memory"] =
runtime.getRuntime().totalMemory() - runtime.getRuntime().freeMemory() />
<cfset jvm["JVM - Max Memory"] = runtime.getRuntime().maxMemory() />
<cfset jvm["JVM - Free Memory"] =
runtime.getRuntime().freeMemory() />
<cfset jvm["JVM - Total Memory"] =
runtime.getRuntime().totalMemory() />
<cfset jvm["JVM - Unallocated Memory"] =
runtime.getRuntime().maxMemory() - runtime.getRuntime().totalMemory() />
<cfreturn jvm />
</cffunction>
Can you report back what your server is saying in regards to the output
of this UDF?
.pjf
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en