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

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

  • 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.

  • 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 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 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.]

  • 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?

  • RTSJ ver RTS-2.2u1 - Running with large heap size

    We installed the RTSJ version which should support 64 bit , on Solaris S10X_u8 with 8GB memory .
    We expected that we can define heap size greater than 4GB .
    But when we run with the following flags : -D64 -Xms4g -Xmx4g
    we got the following message :
    Invalid maximum heapsize:-Xmx4g
    The specified size exceeds the maximum representable size
    Could not create the java virtual machine

    Gabi,
    That should be -d64 (small 'd') The -D arguments define Java property settings.
    Also note that in JRTS we don't dynamically grow the heap so you only need one of -Xms or -Xmx to set the heap size.
    David

  • 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.

  • Large heap sizes, GC tuning and best practices

    Hello,
    I’ve read in the best practices document that the recommended heap size (without JVM GC tuning) is 512M. It also indicates that GC tuning, object number/size, and hardware configuration play a significant role in determining what the optimal heap size is. My particular Coherence implementation contains a static data set that is fairly large in size (150-300k per entry). Our hardware platform contains 16G physical RAM available and we want to dedicate at least 1G to the system and 512M for a proxy instance (localstorage=false) which our TCP*Extend clients will use to connect to the cache. This leaves us 14.5G available for our cache instances.
    We’re trying to determine the proper balance of heap size vs num of cache instances and have ended up with the following configuration. 7 cache instances per node running with 2G heap using a high-units value of 1.5G. Our testing has shown that using the Concurrent Mark Sweep GC algorithm warrants no substantial GC pauses and we have also done testing with a heap fragmentation inducer (http://www.azulsystems.com/e2e/docs/Fragger.java) which also shows no significant pauses.
    The reason we opted for a larger heap was to cut down on the cluster communication and context switching overhead as well as the administration challenges that 28 separate JVM processes would create. Although our testing has shown successful results, my concern here is that we’re straying from the best practices recommendations and I’m wondering what others thoughts are about the configuration outlined above.
    Thanks,
    - Allen Bettilyon

    Hello,
    I’ve read in the best practices document that the recommended heap size (without JVM GC tuning) is 512M. It also indicates that GC tuning, object number/size, and hardware configuration play a significant role in determining what the optimal heap size is. My particular Coherence implementation contains a static data set that is fairly large in size (150-300k per entry). Our hardware platform contains 16G physical RAM available and we want to dedicate at least 1G to the system and 512M for a proxy instance (localstorage=false) which our TCP*Extend clients will use to connect to the cache. This leaves us 14.5G available for our cache instances.
    We’re trying to determine the proper balance of heap size vs num of cache instances and have ended up with the following configuration. 7 cache instances per node running with 2G heap using a high-units value of 1.5G. Our testing has shown that using the Concurrent Mark Sweep GC algorithm warrants no substantial GC pauses and we have also done testing with a heap fragmentation inducer (http://www.azulsystems.com/e2e/docs/Fragger.java) which also shows no significant pauses.
    The reason we opted for a larger heap was to cut down on the cluster communication and context switching overhead as well as the administration challenges that 28 separate JVM processes would create. Although our testing has shown successful results, my concern here is that we’re straying from the best practices recommendations and I’m wondering what others thoughts are about the configuration outlined above.
    Thanks,
    - Allen Bettilyon

  • How large a partition for Win-based programs?

    I have a 500 GB hard-drive, and plan on creating a partition to run Win XP or Win 7 and the following Win-based programs: QuickBooks Pro, Quicken '09, Family Tree Maker, Dragon Naturally Speaking, and Business Plan Pro. Any suggestions as to how large I should make this partition? It seems to me that the largest files I create on my notebook are with the OSX-based programs, suggesting a smaller partition might be adequate. Thanks.

    Gerald Regan wrote:
    I have a 500 GB hard-drive, and plan on creating a partition to run Win XP or Win 7 and the following Win-based programs: QuickBooks Pro, Quicken '09, Family Tree Maker, Dragon Naturally Speaking, and Business Plan Pro. Any suggestions as to how large I should make this partition? It seems to me that the largest files I create on my notebook are with the OSX-based programs, suggesting a smaller partition might be adequate. Thanks.
    I think it depends on your usage of those programs and the programs running under OSX. How much data will you create and store within each partition? It will be very deficult for us to guess your usage.
    I have a 500GB drive that I partitioned half and half after reviewing what my usage would be. Do an analysis of your usage and storage requirements.

  • Using large block sizes for index and table spaces

    " You are not using large blocksizes for your index tablespaces. Oracle research proves that indexes will build flatter tree structures in larger blocksizes.
    Is this a generic statement that I can use for all tables or indexes? I also have batch and online activity. My primary target is batch and it should not impact online. Not sure if both have common tables.
    How to find the current block size used for tables and index? is there a v$parameter query?
    What is an optimal block size value for batch?
    How do I know when flatter tree str has been achieved using above changes? Is there a query to determine this?
    What about tables, what is the success criterion for tables. can we use the same flat tree str criterion? Is there a query for this?

    user3390467 wrote:
    " You are not using large blocksizes for your index tablespaces. Oracle research proves that indexes will build flatter tree structures in larger blocksizes.
    Is this a generic statement that I can use for all tables or indexes? This is a generic statement used by some consultants. Unfortunately, it is riddled with exceptions and other considerations.
    One consultant in particular seems to have anecdotal evidence that using different block sizes for index (big) and data (small) can yield almost miraculous improvements. However, that can not be backed up due to NDA. Many of the rest of us can not duplicate the improvements, and indeed some find situations where that results in a degradation (esp with high insert/update rates from separated transactions).
    I also have batch and online activity. My primary target is batch and it should not impact online. Not sure if both have common tables.
    How to find the current block size used for tables and index? is there a v$parameter query?
    What is an optimal block size value for batch?
    How do I know when flatter tree str has been achieved using above changes? Is there a query to determine this?
    What about tables, what is the success criterion for tables. can we use the same flat tree str criterion? Is there a query for this?I'd strongly recommend that you
    1) stop using generic tools to analyze specific problems
    2) define you problem in detail ()what are you really trying to accomplish - seems like performance tuning, but you never really state that)
    3) define the OS and DB version - in detail. Give rev levels and patch levels.
    If you are having a serious performance issue, I strongly recommend you look at some performance tuning specialists like "http://www.method-r.com/", "http://www.miracleas.dk/", "http://www.hotsos.com/", "http://www.pythian.com/", or even Oracle's Performance Tuning consultants. Definitely worth the price of admission.

  • Installing Windows 7 via Bootcamp - your opinions on how large partition size ?

    Hi there, I am installing Windows 7 Professional SP1 on my iMac with the following specs :
    27in Core i7 3.5 GHz with 16GB RAM
    256 GB flash storage (pure SSD)
    I will be running the following programs :
    (In descending order of program size)
    Adobe Acrobat 11
    Microsoft Office 2010 (entire suite)
    Fedex Ship Manager
    Google Chrome
    iTunes
    Microsoft .Net Framework
    SnagIt
    Java
    VLC Player
    AVG Antivirus
    PPS
    QuickTime 7
    Mozilla Firefox
    uTorrent
    I don't run Autocad, Photoshop or any other graphics-intensive software.
    I'm not sure ifI I will install games or not .... I might !!
    In your opinion, How much partition size should I allocate for the Windows 7 Professional installation ?
    Thanks.

    Thanks BobTheFisherman.
    Actually. Let's say i use 80gb for windows partition. What am I saving the rest of the 176GB for ? For maverick ? If let's say I only use windows what's stopping me to use the maximum possible (211GB according to the installer) for windows ? Just
    Thanks

  • 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!

  • 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

  • Need to send a mail from a specific From mail ID thorgh specific Mail serve

    Hi, If any errors occured in my interface validation program(plsql) I need to send mail to some mail ids, But I need to use specific from mail id and mail server. I have no idea of Shell scripting, I tried it with plsql itself but not worked. My Appl

  • OS X keeps asking for application

    Hello to you all, folks. First of all, excuse me if I don't express my self properly, for English is not my first language. I have a problem that's been bothering me repeatedly at least since Snow Leopard until now, with OS X Mavericks. I've been upd

  • I've setup a firefox sync account on two PCs (desktop & laptop), but no data actually syncs.

    I need some help with the aforementioned issue. Frankly, I don't understand what I'm doing wrong, and I have not been able to locate any information on exactly how long I should give the computers to sync. Both computers are using FF v. 31. I'm able

  • Code comparison ....please help

    Hi All, I will be really grateful if someone could go through the following codes (2 different places) and tell me why in CODE 1 i am able to append rows to the Webdynpro ALV on clicking on the Append Rows button while nothing happens at all on doing

  • Adding an item to Favorites with an Icon

    Here's a sample script that adds a web page to your favorites and includes an icon. In this example, I placed the icon in the startup scripts folder. Happy Scripting Bob Adobe WAS Scripting #target bridge; var forumFavorite = {}; if ( BridgeTalk.appN