Recommended heap sizes for Dev/Live/Shared CF boxes

Hi all
I've searched through all the relevant past posts, but most of them were posted before CF8.0.1 going 64-bit, so the situation has changed slightly.
What are people's opinions on heap sizes for various server setups? I have my dev server - I leave this on 512MB and that's fine for most of the stuff I do. We generally up this to a gig on our live servers (which only run 3-4 small sites), and historically we've not gone above this on our Shared servers (which host anywhere up to 400 sites) because of the 32-bit limit.
However, now we're running CF9 on 64-bit Server 2008, we've obviously got a lot more RAM available. The obvious choice is to ramp it up high, but I've also been heard that causes issues of its own - the Java GC then has far more work to do when it's called and as the memory fills it's harder to get a contiguous block of RAM, so performance can suffer.
Does anyone have any experience of running Shared servers, or busy sites? The Server monitor is great for tuning maximum threads and the suchlike, but I can't really sit in front of it for hours waiting for the heap to fill. Also, our live servers are only Standard edition, so there's no Server Monitor.
Thoughts?
Ta
O.

function(){return A.apply(null,[this].concat($A(arguments)))}
I have my dev server - I leave this on 512MB and that's fine for
most of the stuff I do. We generally up this to a gig on our live
servers (which only run 3-4 small sites), and historically we've not
gone above this on our Shared servers (which host anywhere up to 400
sites) because of the 32-bit limit.
However, now we're running CF9 on 64-bit Server 2008, we've obviously got a lot more RAM available. The obvious choice is to ramp it up high, but I've also been heard that causes issues of its own - the Java GC then has far more work to do when it's called and as the memory fills it's harder to get a contiguous block of RAM, so performance can suffer.
Leave the memory setting at the default value, until testing requires you to do otherwise, or your sites unravel some unforeseen memory demand. It's a risk our SysAdmin colleagues are prepared to take. With the coming of 64-bit, they've been on the alert, and have always cattle-prodded us whenever we've been tempted to push the button to go higher.
Our defaults almost coincide with yours: 512 MB for 32-bit and just over 1GB for 64-bit. So what you yourself have just said is my own basic wisdom on the subject, too: if it aint broke, don't try to fix it.
[postscript: I work full-time at one company, part-time at another. By pure coincidence, both use the same JVM memory settings.]

Similar Messages

  • How to increase Memory and Java Heap Size for Content Server

    Hi,
    My content server is processing requests very slowly. Over performance is not good. I have 2 GB of RAM any idea what files I can modify to increase the Java Heap Size for the Content Server. If I increase the RAM to 4 or 6 GB where do I need to make changes for the Java Heap Size and what are the recommended values. I just have Content Server Running on the linux box. Or how do I assign more memory to the user that owns the content server install.
    Thanks

    You might find these interesting:
    http://blogs.oracle.com/fusionecm/2008/10/how_to_-javatuning.html
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/performance_tuning_10en.pdf
    Do you have access to metalink? This has about everything you could want:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9940589543422282072::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,788210.1,1,1,1,helvetica
    Or search for "788210.1" in metalink knowledgebase if that link doesn't work and look for the FAQ on configuring Java for Content Servers

  • Maximum heap size for 64bit JVM

    Hi,
    I am trying to set the maximum heap size for a java process in a 64bit JVM . I am not able to set more then 3G
    command line config:
    java -Xms64m -Xmx3g -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=8000 com.superpages.puboptions.CampaignFeedStarter >> publisher.out 2>&1 &
    Hardware / software configs
    *$uname -a*
    SunOS labsbear 5.9 Generic_122300-19 sun4u sparc SUNW,Sun-Fire-V440
    *16GB total physical memory*
    *4 processor machine*
    *64 bit JVM*
    JDK1.6
    where is this limitation coming from. How to set the heap size to 6g.
    Thanks for your time
    Meena

    You need to use the -d64 switch to request the 64-bit JVM. E.g.,$ java -showversion -Xmx6g HelloWorld
    Invalid maximum heap size: -Xmx6g
    The specified size exceeds the maximum representable size.
    Could not create the Java virtual machine.
    $ java -showversion -d64 -Xmx6g HelloWorld
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
    Hello world!

  • Is there a recommended (maximum) size for a catalog?

    I'm loading all my photos into PSE9 Organizer on my new MacBook Pro and was wondering if there is a recommended maximum size for a catalog? On my PC I separated my catalogs by year. My 2011 folder contains over 11,000 photos and is 71GB. Is that pushing the limits for efficiency or could I combine years?

    One catalog for all of your photos makes sense. Alternatively, as Ken said, catalogs by relatively non-overlapping subject matter areas make sense. I still see no scenario where catalogs by years makes sense, unless you can honestly say that you can remember the years of all of your 68000 photos.
    Tags and albums let you organize in ways that are nearly impossible using folders. If your daughter is named Jennifer, for example, and you assign the Jennifer tag to all photos that contain her image, then later when you want to search for pictures of Jennifer, you simply click the tag and boom, there are the photos instantaneously. You don't need to know what folder the photos are in, nor do you need to know what date the photos were taken. If you want photos of Jennifer over the years at Christmas, this is a simple search once you tag the photos, and nearly impossible using folders. The possibilites are endless. You let PSE remember where the photos are, so you don't have to. You let PSE do the searching, instead of you searching the folders.

  • Upto how much I can set maximum Heap size for jvm?

    I am running application on 8GB RAM Windows 64 bits machine.
    I am running out of OutOfMemory (Heap Space). I want to increase the Heap Size for my jvm.
    But can anybody please tell me what is the limit by which I can set the maximum size for heap?
    Thanks in Advance,
    Jenish

    Max allowed memory per process is 2 raised to the 64th power. What maximum memory you can set depends on the memory available
    for your application. You may be able to set more than 8GB ram then it will use the swap space and it will slow down your application
    performance. So try different memory size and see which one works best for your application.

  • Is there a way to set new default heap size for Java?

    Hi,
    I have a problem with setting global heap size for installed version of Java. By global I mean that every program that will be run using that version of Java, will be using that amount of memory. for heap. I know that I can use Xmx and Xms for each program that I start, but I don't want to do this. I just want to set some kind of property for installed version of Java.

    Launch Firefox and set the web page as wide as you want by dragging the hash marks at the lower right corner. Center the page on your screen where you want it. Then quit Firefox. launch Firefox again. The page should be just where on the screen and sized as you set it prior to quitting.

  • Recommended Heap Size

    Hi,
    I see a lot of talk about upping/modifying the following parameters:
    MaxPermSize=128M -ms512M -mx1024M
    where folk are getting into difficulties with out of memory.
    We don't have out of memory, but I'm trying to find info on how to make the best of these settings for optimal server usage, but I'm a bit vague as to what these even mean!
    We have an 8GB quad-processor Linux RH4 running HTTP/J2EE 10.1.3.1.0, so think that we could up these values to makes sure all run smoothly. However, if I double these values, what effects will it have, and to what? Will the server suddenly fail, OC4J collapse? It's a live system, so I don't want to play, but happy to tweak where a concensus suggests so.
    Anyone seen any recommendations, or some sort of best practice document, anywhere?
    Thanks in advance
    Iain

    http://www.weblogic.com/docs51/admindocs/tuning.html#jvm execution
    Srikant, [email protected], http://weblogic.bea.com/, etc.
    kevin wrote:
    We have two gigs of RAM, load testing not necessary at this stage of development. Any recommendations for heap size?
    thanks.

  • Any way to increase the default Heap size for all Java VMs in Solaris 8

    Hello,
    I have a java product that deals with large databases under Solaris 8. It is a jar file, started by a cron job every night. Some nights it will fail because it runs out of Heap memory depending on the amount of records it has to deal with. I know that I could increase the java VM heap size with "java -jar -mx YY JARFILE" command but I have other java products that are showing the same behavior, and I would like to correct them all in one shot if possible.
    What I would like to do is find a system or configuration parameter that forces all Java VMs to use a larger MAX Heap size than the default 16M specified in the Man page for Java. Is there a way to accomplish that?
    TIA
    Maizo

    You could always download the source and modify it.

  • Maximum recommended file size for public distribution?

    I'm producing a project with multiple PDFs that will be circulated to a goup of seniors aged 70 and older. I anticipate that some may be using older computers.
    Most of my PDFs are small, but one at 7.4 MB is at the smallest size I can output the document as it stands. I'm wondering if that size may be too large. If necessary, I can break it into two documents, or maybe even three.
    Does anyone with experience producing PDFs for public distribution have a sense of a maximum recommended file size?
    I note that at http://www.irs.gov/pub/irs-pdf/ the Internal Revenue Service hosts 2,012 PDFs, of which only 50 are 4 MB or larger.
    Thanks!

    First Open the PDF  Use Optimizer to examine the PDF.
    a Lot of times when I create PDF's I end up with a half-dozen copies of the same font and fontfaces. If you remove all the duplicates that will reduce the file size tremendously.
    Another thing is to reduce the dpi of any Graphicseven for printing they don't need to be any larger than 200DPI.
    and if they are going to be viewed on acomputer screen only no more than 150 DPI tops and if you can get by with 75DPI that will be even better.
    Once you set up the optimized File save under a different name and see what size it turns out. Those to thing s can sometimes reduce file size by as much as 2/3's.

  • Recommended Block Size For RAID 0

    I am setting up a RAID configuration (Striping, no Parity, Mac G5, OS-X) and was curious what the recommended Block Size should be. Content is primarily (but not limited to) Images created with Adobe Photoshop CS2 and range in size from 1.5MB to >20MB. The default for OS-X is 32K chunks of data.
    Drives are External FW-400.
    Many thanks, and Happy Holidays to all!

    If it is just scratch, run some benchmarks with it set to 128k and 256k and see how it feels with each. The default is too small, though some find it acceptable for small images. For larger files you want larger - and for PS scratch you definitely want 128 or 256k.

  • How large heap size for running a WL Server?

    Hi friends,
    I am running a 5.1 WL server, which usually uses more than 170Mb or even
    more if I deploy EjBs.
    Is that usully a server will use this much of memory?
    If I want to reduce usage of heap size, what can I do?
    Thanks!
    James

    Hi Sathya,
    If you are not having any memory leaking and have a fair amount of memory allocated on one server for your application then I would suggest you to go with the increasing the number of servers in the cluster. That way you would have a distributed architecture and performance would increase.
    For better tuning you can have a look at the below links
    Topic: Optimizing WebLogic Server Performance: JVM tuning
    http://middlewaremagic.com/weblogic/?p=6388
    Topic: Tuning the WebLogic Server Performance
    http://middlewaremagic.com/weblogic/?p=6384
    Regards,
    Ravish Mody

  • Changing heap size for java

    I type java -Xmx512m and it did not work. I gave me this
    Usage: java [-options] class [args...]
    What do I do?

    Well I tried both methods you mentioned and it just gives me
    Usage: JAVA.EXE [-options] class [args...]
    etc, etc, etc.
    I installed JRE 1.2.2 and remove JRE 1.4. I still get the same message when I type
    Java -Xmxn
    I installed JRE 1.2.2 on another machine and I still get the same results.
    The operating system on the first machine is WinNT 4.0. The second machine is Win 2000.
    How do I see what the min and max heap size are currently set at for JVM on these machines? I can't find that command either.
    Help!

  • Recommended Image Size for Contact Pictures?

    Hi All,
    I want to edit up some family members to attach thier images to my iPhone contacts... Does anyone know what the preferred resolution size is for the iPhone for optimal appearance?
    I've tried to do this with outlook before, and I hate the way it dithers the images to a low quality.... I'm hoping that the iPhone doesn't do this and so I wanted to experiment with how they would appear...
    But instead of making the images just any random size, I wanted to crop them to the preferred image/pixel size so that my photoshopped images look like what I expect them to show up like...
    If you could advise with the documented or known pixel resolution size used by the iPhone it would be appreciated!

    Thanks, but I don't believe that the contacts come up full screen do they?
    Usually there is a optimal image size for certain things like contact photos and I am just trying to help ensure that all my photos are the same size and don't vary...
    I might be a little carried away with how I am formatting them, but just hoping someone already knows this answer!

  • How to set the Heap size for JAVA

    I am facing the memory out of space problem:
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    Could anyone suggest me a solution to solve the problem ?
    increase the heap size ?
    anyway to increase the heap size in the program by default without additional setup?
    Thank you.

    How to determine the program must handled with increase heap size ?
    could I know any method to know whether the program is memory leaking or need large memory heap size?

  • HT3210 Heap size for Java 1.6 on OSX10.6.8

    Hi Guys
    I am trying to run a Java programm ( YAAC ) and I need to set the Java heap size bigger 1024 rather than 512.
    I found an article, HT3210, on doing this in Java 1.5.0 but it dosn't seem to work in 1.6 the same
    Any ideas ??
    Max

    Looks like I found an answer !!!
    Dump Apples java and try this
    http://code.google.com/p/openjdk-osx-build/
    Seems to work a treat
    Max

Maybe you are looking for