Re: What ColdFusion Instance Memory values to use...

2009-08-25 Thread Tom Chiverton

On Thursday 20 Aug 2009, DURETTE, STEVEN J (ATTASIAIT) wrote:
 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.

On a 64bit JVM, it can use a lot more than 1.8G :-)

 What number should I use for 1.8 Gigs?

You need to load test and benchmark your application, to find out.

-- 
Helping to dramatically transition visionary principle-centered holistic 
segments as part of the IT team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
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:325657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


What ColdFusion Instance Memory values to use...

2009-08-20 Thread DURETTE, STEVEN J (ATTASIAIT)

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