You have a 32bit server with CF8 which means you have limits.

The memory error may or may not be due to the overall heap size. You need to  
monitor the server and see what is happening. Try enabling metrics logging and 
verbose GC logging.

Enable verbose garbage collection, is by passing 4 arguments to the JVM
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -verbose:gc 
-Xloggc:GarbageCollection.log

The heap of 1024 is pretty much as big as it can get on a 32bit server. I see 
other items to look at though.
Is this a multi-cpu server? If so the try the parallel GC instead.  
-XX:+UseParallelGC 

The -XX:MaxPermSize=192m  -XX:PermSize=64m could also be an issue. If you run 
out of memory here you could get that same error.  Again, with out turing on 
metric logging and verbose GC you are only taking shot in the dark. But try 
increasing both to 256m.  

For more details on JVM Tuning read my articles on the subject here 
http://www.trunkful.com/index.cfm/JVM-Tuning


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

[email protected]
www.trunkful.com

On Mar 28, 2011, at 9:26 AM, tom vallee wrote:

> 
> i have this error on a win2000 with cf8, 4gb ram
> 
> here are my java settings : 
> 
> java.args=-server  -Xms1024m -Xmx1024m -Xmn100M -Dsun.io.useCanonCaches=false 
> -XX:PermSize=64m -XX:+UseConcMarkSweepGC -XX:NewSize=48m -XX:SurvivorRatio=4 
> -XX:+UseParNewGC -XX:MaxPermSize=192m 
> -Dcoldfusion.rootDir={application.home}/../ 
> -Dcoldfusion.libPath={application.home}/../lib 
> -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,"C:\\Program
>  Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar"
> 
> is the code the problem or my java settings? 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343342
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to