RE: What are optimal GC/JVM settings?

2005-04-05 Thread Jacob
I could have sworn that I read this on MM site.  Maybe I read it wrong.  I
have to check.  Maybe I was increasing everything that had to do with JVM
settings to stop the out of memory errors when I went from CF 5 to MX

Anyways, I dropped it back to 128 on 3 servers over night and it looks like
I had no problems.  Guess I will but them back to 128.

Jacob

-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:46 PM
To: CF-Talk
Subject: Re: What are optimal GC/JVM settings?

On Apr 4, 2005 1:30 PM, Jacob [EMAIL PROTECTED] wrote:
 What I read was that if you increase the heap size, you must also increase
 the perm size.

Where did you read that (because it isn't true)?

 BUT... I can reduce the perm size on a couple of servers.  Maybe I do not
 need it this high.  I will start at 256 and see what happens.

I'd be surprised if you need it set higher than 128Mb which is the
install default I believe.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201486
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


RE: What are optimal GC/JVM settings?

2005-04-04 Thread Robertson-Ravo, Neil (RX)
They all depend on your application and its memory consumptionHave you
ran something like VisualGC to get how much application your system uses?

I would probably tweak yours to be:

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xms768m
-Xmx768m -Dsun.io.useCanonCaches=false
-Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXParserFa
ctoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.Docum
entBuilderFactoryImpl -XX:MaxPermSize=64m -XX:PermSize=48m -XX:NewSize=256m

But, again I would check the mem consumption first.






-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: 04 April 2005 12:24
To: CF-Talk
Subject: What are optimal GC/JVM settings?

I run cfmx 6.1 on a dual 1ghz proc machine with 1g of RAM.
 
What are the best settings for garbage collection  and other JVM params.
 
Here's what I have now:
 
-server -Dsun.io.useCanonCaches=false
-Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
-XX:MaxPermSize=128m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXPars
erFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.D
ocumentBuilderFactoryImpl
 
Thanks
-Dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited. 
 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201333
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: What are optimal GC/JVM settings?

2005-04-04 Thread Jeff Garza
There are some fairly detailed instructions on performance tuning the JVM
for CFMX on Sarge's blog.  

http://www.sargeway.com/sarge/index.cfm?mode=entryentry=27

HTH,

Jeff Garza


-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:24 AM
To: CF-Talk
Subject: What are optimal GC/JVM settings?

I run cfmx 6.1 on a dual 1ghz proc machine with 1g of RAM.
 
What are the best settings for garbage collection  and other JVM params.
 
Here's what I have now:
 
-server -Dsun.io.useCanonCaches=false
-Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
-XX:MaxPermSize=128m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXPars
erFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.D
ocumentBuilderFactoryImpl
 
Thanks
-Dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited. 
 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201334
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


Re: What are optimal GC/JVM settings?

2005-04-04 Thread Douglas Knudsen
http://www.robisen.com/
robis sen has some good info too. Also be sure to check out Pete Frietag's 
blog
http://www.petefreitag.com/

D

On Apr 4, 2005 7:53 AM, Jeff Garza [EMAIL PROTECTED] wrote:
 
 There are some fairly detailed instructions on performance tuning the JVM
 for CFMX on Sarge's blog.
 
 http://www.sargeway.com/sarge/index.cfm?mode=entryentry=27
 
 HTH,
 
 Jeff Garza
 
 
 -Original Message-
 From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 04, 2005 4:24 AM
 To: CF-Talk
 Subject: What are optimal GC/JVM settings?
 
 I run cfmx 6.1 on a dual 1ghz proc machine with 1g of RAM.
 
 What are the best settings for garbage collection and other JVM params.
 
 Here's what I have now:
 
 -server -Dsun.io.useCanonCaches=false
 -Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
 -XX:MaxPermSize=128m -XX:+UseParallelGC
 -Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXPars
 erFactoryImpl
 -Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.D
 ocumentBuilderFactoryImpl
 
 Thanks
 -Dov
 
 
 NOTICE: If received in error, please destroy and notify sender. Sender 
 does
 not waive confidentiality or privilege, and use is prohibited.
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201338
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: What are optimal GC/JVM settings?

2005-04-04 Thread Jacob
On my machines, with 2GB RAM and dual Xeons of various speeds, I have mine
JVM setting as follows:

MAX HEAP SIZE:  1024
MAX PERM SIZE:  512

These are the only two changes I had to make for my settings.

-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:24 AM
To: CF-Talk
Subject: What are optimal GC/JVM settings?

I run cfmx 6.1 on a dual 1ghz proc machine with 1g of RAM.
 
What are the best settings for garbage collection  and other JVM params.
 
Here's what I have now:
 
-server -Dsun.io.useCanonCaches=false
-Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
-XX:MaxPermSize=128m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXPars
erFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.D
ocumentBuilderFactoryImpl
 
Thanks
-Dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited. 
 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201347
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


RE: What are optimal GC/JVM settings?

2005-04-04 Thread Jacob
Forgot one thing...

Check your CF error logs.  When you start to see Out of Memory errors, you
need to increase it.

-Original Message-
From: Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 7:06 AM
To: CF-Talk
Subject: RE: What are optimal GC/JVM settings?

On my machines, with 2GB RAM and dual Xeons of various speeds, I have mine
JVM setting as follows:

MAX HEAP SIZE:  1024
MAX PERM SIZE:  512

These are the only two changes I had to make for my settings.

-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:24 AM
To: CF-Talk
Subject: What are optimal GC/JVM settings?

I run cfmx 6.1 on a dual 1ghz proc machine with 1g of RAM.
 
What are the best settings for garbage collection  and other JVM params.
 
Here's what I have now:
 
-server -Dsun.io.useCanonCaches=false
-Xbootclasspath/a:{application.home}/../lib/webchartsJava2D.jar
-XX:MaxPermSize=128m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXPars
erFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.D
ocumentBuilderFactoryImpl
 
Thanks
-Dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited. 
 






~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201349
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: What are optimal GC/JVM settings?

2005-04-04 Thread Pete Freitag
Douglas Knudsen wrote:

http://www.robisen.com/
robis sen has some good info too. Also be sure to check out Pete Frietag's 
blog
http://www.petefreitag.com/
  

You can try using the new tag feature I have added to my blog, and look under 
the jvm tag: http://www.petefreitag.com/tag/jvm

I haven't tagged all of my posts yet however.

--
Pete Freitag
work: http://www.cfdev.com/
blog: http://www.petefreitag.com/
shop: http://www.dealazon.com/



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201368
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: What are optimal GC/JVM settings?

2005-04-04 Thread Sean Corfield
On Apr 4, 2005 6:06 AM, Jacob [EMAIL PROTECTED] wrote:
 
 On my machines, with 2GB RAM and dual Xeons of various speeds, I have mine
 JVM setting as follows:
 
 MAX HEAP SIZE: 1024
 MAX PERM SIZE: 512


Did you actually *need* to set max perm size that high? That's an enormous 
number for the perm space. Most people manage with 128Mb and only under 
fairly extreme situations do you need to raise it. The perm space holds 
class definitions so unless you have a phenomenal number of templates and / 
or CFC methods, you shouldn't hit 128Mb...
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201408
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


RE: What are optimal GC/JVM settings?

2005-04-04 Thread Jacob
What I read was that if you increase the heap size, you must also increase
the perm size.  This setting has worked well so far for me.

BUT... I can reduce the perm size on a couple of servers.  Maybe I do not
need it this high.  I will start at 256 and see what happens.

Jacob

-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 10:46 AM
To: CF-Talk
Subject: Re: What are optimal GC/JVM settings?

On Apr 4, 2005 6:06 AM, Jacob [EMAIL PROTECTED] wrote:
 
 On my machines, with 2GB RAM and dual Xeons of various speeds, I have mine
 JVM setting as follows:
 
 MAX HEAP SIZE: 1024
 MAX PERM SIZE: 512


Did you actually *need* to set max perm size that high? That's an enormous 
number for the perm space. Most people manage with 128Mb and only under 
fairly extreme situations do you need to raise it. The perm space holds 
class definitions so unless you have a phenomenal number of templates and / 
or CFC methods, you shouldn't hit 128Mb...
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201434
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: What are optimal GC/JVM settings?

2005-04-04 Thread Sean Corfield
On Apr 4, 2005 1:30 PM, Jacob [EMAIL PROTECTED] wrote:
 What I read was that if you increase the heap size, you must also increase
 the perm size.

Where did you read that (because it isn't true)?

 BUT... I can reduce the perm size on a couple of servers.  Maybe I do not
 need it this high.  I will start at 256 and see what happens.

I'd be surprised if you need it set higher than 128Mb which is the
install default I believe.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201453
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54