Hi all,

It has been a while...

I have a question about multiple instances and memory allocation...

I have a box with multiple instances.  Each one has a different amount
of ram set aside for it in jvm.config files.

I have three setups: 
JVM-BIG.CONFIG has: 
# Arguments to VM
java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=256m -XX:PermSize=128m -XX:+UseConcMarkSweepGC
-XX:NewSize=96m -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
-Dcoldfusion.rootDir={application.home}/ -Dmail.smtp.sendpartial=true
JVM-SMALL.CONFIG has: 
# Arguments to VM
java.args=-server -Xmx256m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=64m -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
-Dcoldfusion.rootDir={application.home}/ -Dmail.smtp.sendpartial=true

JVM.CONFIG has:
# Arguments to VM
java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=128m -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
-Dcoldfusion.rootDir={application.home}/ -Dmail.smtp.sendpartial=true

I know the following...  ColdFusion used .5 Gigs (512m) by default and
can handle a max of 1.8 gigs.  My problem is that 1.8 Gigs doesn't
divide by 1024 evenly.  

My algebra may be rusty but this is what I was trying:  (1Gig / 1024
megs) = (1.8Gigs / X megs) so.. 1X = 1.8 * 1024 = 1843.2!  I'm pretty
sure I can't use decimals in the declaration.

What number should I use for 1.8 Gigs?  

It would be nice if things were referenced apples to apples.  If things
have to be entered in megs then list the limits in megs.  

Unless of course I can do something else...  Could I use -Xmx1.8g ?

This whole thing came about because we were able to decommission some
unused instances on the server and reclaimed the memory.

(sorry for the long post)

Thanks,
Steve

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325565
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to