Full GC times with heap size 2gb taking over 700s

I've been doing some performance work around jvm heap sizes greater than 2gb. And I've found that with a heap size of greater than 2gb (eg 3gb), my full GC times were excessively high. sometimes taking 700, 1000 seconds. One even took 1615 seconds!
I don't see this when i set my heap size to be < 2gb.
Even when I modify my NewSize/MaxNewsize to a smaller value (less than 1/3 the heap), I'm still seeing the long Full GC times.
I'm running j2sdk1.4.2_04
and don't have any other JVM opts specified apart from heap and newsize (Xms == Xmx)

Besides the swapping issue mentioned in the above message, perhaps you should try other GCs.
Modifying the new generation size should take into account the life expectancy of your objects; if you produce a lot of short lived objects, then your application should benefit from a bigger young generation. Other than that, you should probably leave the generation size alone, since with the parallel and the concurrent GCs they are adjusted automatically.
Read here for details:
http://java.sun.com/docs/hotspot/
And use this for reference:
http://blogs.sun.com/roller/resources/watt/jvm-options-list.html
Also, you should upgrade to the latest 1.4.2, or give 1.5 a try.

Similar Messages

  • In need of immediate help with FCP new user taking over colleagues position

    Good Morning. I am in urgent need of some help with a specific final cut pro question. My coworker and I have been working on a video project for our employer, a university. He ran the editor (FCP) and I ran the logistics of setting things up, keeping the contacts and scheduling, etc.
    He has left until late August and there are two major typos in his work which is posted to the web at the moment. I need to correct these typos and have less than a faint idea of how to do it.
    First of all, what is the file's last three letters? (.doc, .mov, etc...)
    Second, can I edit this as easily as I think I can? Just click in the text file along the bottom timeline and edit that way?
    How do I export the movie as an mp4 file after i have edited it.
    Anything else that would be deemed helpful is always appreciated!
    I really appreciate the help. I was never trained on this program because I never needed to be. Unfortunately, as it turns out, I did.
    Thanks for the help!

    You need to locate the Project file. Which will be somewhere in your colleague's User space.
    In the Finder, press command and F to activate the Find function.
    Make sure the following parameters are set:
    Search *This Mac* and Contents
    Kind is Documents
    Type the project name.
    The icon looks like this:
    Double click it to launch Final Cut Pro with the project.
    To locate the text overlay, click on the Timeline to make it active. Use the down arrow on your keyboard to jump from one cut to the next. The text overlay will look similar to this:
    Double click on the Text clip. This will place it in the Viewer (the left "monitor").
    Click the "Controls" tab above the Viewer and make your changes. Press Return.
    Clicking anywhere in the Timeline once more will update it.
    Make sure that no clips are selected and the Timeline is the active window.
    Go to the menu bar: File > Export > Using QuickTime Conversion.
    In the window that opens, make sure that Format is set to QuickTime Movie.
    Click the Options button. Look at the top of the next window.
    Does it say Compression Setting: H264? If it does, great.
    If not, click the settings button and choose H264 from the *Compression Type* button.
    At bottom left, drag the Quality slider to Best. Click OK.
    This brings you back to the previous window.
    Click on Size if you need to change something -there are a number of presets, but you can choose a custom size if you wish. Click OK.
    That window is dismissed and returns you to the Save dialog.
    Type a name and choose a destination for your file.
    Message was edited by: Nick Holmes

  • Time machine initial backup is taking over 3 days

    I have an external network drive which I am trying to back up my MacBook Pro OS X 10.6.8 to using Time Machine.  Why after 2 days is the backup only 40% done?  I know it can take time to set it up but... really?
    I had to start over since it is a laptop computer and I do need to take it with me... but I really can't afford more than 24 hours of keeping it on the network.
    What's the deal?  Thanks!

    https://discussions.apple.com/docs/DOC-4055

  • Issues with new bill payer taking over from old bi...

    Hello, 
    The old bill payer has moved out of my shared flat and I have taken over as bill payer. Two weeks ago I rang BT and signed up for a new contract. Last week I rang again to say that I was leaving BT and spoke to the 'retentions team' who negocitated a cheaper contract for me. So, I signed up for new a 12 month contract with BT. 
    I would like to know what information is connected to our account because the OLD bill payer has recieved confirmation emails (which should have been sent to me). He has cancelled the old direct debit and now the NEW contract is being threateneed to be cut off. The NEW contract still has the old bill payers name and should have my name instead. I have not been sent any confirmation letters with any account numbers or details of my bill breakdown and I have not been sent any forms to set up a new direct debit. 
    The people at the call centres do not understand my problem. They have corrected the account to have my contact email address but addressing me as the old bill payer. I am completely confused and would like to know what is going on!

    I understand that a new bill payer has to take out a new account (I googled the problem). I explained to the people in the call center what was going on and said that I needed to take out a new contract. It appears that ithe people in the call centre have made a huge mistake and I dont know what to do about it
    No security questions were asked, my housemate has not rang them once (and I am female and he is male!), I dont know the account number so theyre doing it all from the phone number. I could have been anyone. 
    I think I am still within the 14 day cooling off period from when I phoned customer retentions, so Im highly tempted to call them back and change providers completely because this is a nightmare!
    I also cant believe that a proceedure for this isnt in place (close old account, start new account) - there are so many shared houses in London!

  • Problem increasing heap size using Java Control Panel

    I am running a web-based bioinformatics package which uses a Java applet as the client application. It mostly works fine, but some large clustering processes don't complete, they just cycle endlessly. The user manual advises increasing heap space "by entering the following command in the Java Control Panel or Java Plug-in dialog: -Xms128M -Xmx256M." I can open the Java Control Panel OK and enter the necessary command in the Java Runtime Parameters box, but after clicking OK then Apply, the Runtime Parameters box is empty again and there is no increase in the heap size allocation. In other words, the change doesn't take effect.
    I have already tried: adjusting one parameter at a time (max heap size first, then min); changing uppercase to lowercase M (-Xmx256m); restarting the browser after the change; rebooting my PC - none of these has helped.
    Technical details: it's Java 6 standard edition, build 1.6.0_10-rc-b28; browser is Internet Explorer 7; operating system is Vista (Service Pack 1); PC is a 2.4 GHz processor with 2 GB RAM (so I have plenty available to allocate to Java). I have local admin privilege on my PC.
    Help would be much appreciated, as I really need to complete these cluster analyses. I'm a biologist not a developer, so ideally I need a solution that doesn't involve major programming, though I'm OK with registry edits and use of the command line. Thanks in advance.

    The failure to retain the parameters is a bug, per hdong in this [Java,net thread|http://forums.java.net/jive/thread.jspa?threadID=44540&tstart=0] dated August 14
    "I did a little more research and found out that the problem is only with "-rc" or "-beta" versions of plugin. When 1.6.0_10 is finally released, the version string will be "1.6.0_10". Plugin works fine to set/get jvm parameters when version string is "1.6.0_10".
    I am surprised that this issue was not discovered earlier. It was probably because the internal test binary use "1.6.0_10" as version string.
    Yeah, it is a bug that will affect many manny developers. It will be fixed as soon as possible."

  • Kernel Heap size growing

    I am dealing with this isse on a SunOS 5.10 (118833-36) system running Storage Foundation 4.1 MP2. The kernel heap size seems increasing
    over a period of time and reboot is the only option. Examining the dump without kmem debug i.e. kmastat indicates the contributing entities which shows high values of vn_cache and kmem_default. We will create and examine a kmem debug crash dump but thought if someone has come across this issue and found any solution to it.
    Does anyone what vn_cache and kmem_default signify?
    Can anyone please guide us using mdb to examine the crash dump?
    Thanks in advance.

    Correction, the cache involved is kmem_va ( not vn_cache ) besides kmem_default.
    We also observed that if we do du-ks * on the NFS share mounted on the host, the heap consumption jumps up drastically.
    The NFS client is at version3 and NFS server is at version4.
    Maybe some problem with NFS here causing increase in the heap size?

  • Why is number taking over 1 g of memory ?

    i have been motitoring my memory and I see the I work and Apeture in combination with I tune is taking over 2 G of memory and Slowing down the computer I have a macpro Mid 2010 quad core with 16 G and is slow

    Numbers seems to take up a lot of memory.  I have Mac Book Pro, 15-inch, Early 2011 with 16 GB of RAM and Numbers is using 800.5MB.  I see it as high as 1.5GB.
    Not sure anyone here can answer your question.  You can post feedback to Apple using the menu item:
    "Numbers > Provide Numbers Feedback"
    To assess performance I launch Activity Monitor in the folder "/Applications/Utilities" and I watch RAM usage and CPU usage

  • The hard drive on my Macbook Pro is getting full (mainly due to the size of my iTunes library). Can I store it on my time capsule and if so, how is it done ?

    The hard drive on my Macbook Pro is getting full (mainly due to the size of my iTunes library). Can I store it on my time capsule and if so, how is it done ?

    You can store your iTunes library on a Time Capsule.  So that you can access on your local (home) network (I wouldn't recommend access via the internat), (off site.....to slow).  
    If you do decide to put your libray on Time Capsule I'd recommend doing this.
    Option 1:
    1.  Don't use TC as a Backup (Time Machine).
    2.  Connect a USB drive to your TC or Computer and backup to the  drive. Backup when a change is made to the library (adding Apps, Songs you get the idea). 
    Option 2:  (What Im doing)
    1.   Two Time Capsule's connected via ethernet cable (roaming mode, bridge).
    2.   Use TC1 as a Time Machine backup
    3.   Use TC2 as network drive.  (The information on TC2 does NOT get backed up to TC1).
    3a. Connect a USB, FW, drive to your desktop computer (if you have one) use SilverKeeper to schedule backups.       Silverkeeper will look at TC2 and back it up to a external or internal HD.  I've been doing the or some time now.  Or connect to your TC and do an archive.
    I have this setup because I don't trust Cloud base services and I want access to my files (in Sync) on TC where ever I am, as long as there's a internet connection.  It's expensive, but does exactly what I expect.
    The most important thing is to safe guard your data in case of a failure.
    In your situation it would probably be better to get a high speed SD or thumb drive, however I've never been successful in backing up those type of drives with TM.  What ever you decide to do make sure you have a GOOD duplicate (backup).

  • Heap sizes with Planning11.1.1.3 & Weblogic help

    I'm used to having the xms and xmx heap sizes in the registry with planning. But i installed Planning 11.1.1.3 with weblogic 9.2 (all 32 bit) and deployed as a service. However, the registry does not have the usually heap settings automatically added. I can modify the setDomainEnv script to bump up heap sizes but running that script leaves the command window running in the foreground which is something i don't want. I tried manually adding the heap size settings to the Hyperion Planning registry settings, but they are not taking effect when starting the web server via the services console. Anyone have any ideas. I peaked around the web logic admin console but i didnt really want to try and set the heap sizes through there. plus, i'm not sure any settings in there will take effect when starting from the service console. I thought all the arguments for a service are derived from the registry.

    EssbaseInAz wrote:
    "We are using 64bit Windows 2003 with Weblogic 9.2 as well. What is the heap size suggestions in Hyperion Planning 11.1.1.3?"
    Are the heap sizes already present in your planning registry setting? Did you use the jrockit jvm or the sun jvm when configuring Weblogic. I'm trying to track down what caused my install not to create the heap size jvmoption in my registry. I know Weblogic recommends using the jrockit jvm for performance reasons, but if i can't get the planning service to run with larger heaps, i may have to change jvms. Having the planning web running in the foreground seems to risky for me (someone logging out and shutting down any running windows).We are using Jrockit JVM and the heap size setup is around 1GB.
    As John mentioned, 1.8GB may be the max even though you are using 64bit version.

  • Bridge from CS3 won't open and just sits on the task bar. If I hover over it, I can see a small view of the last screen I was working on. It won't open up full screen, what should I do. I've closed it and restarted my computer numerous times with no luck.

    If I hover over it, I can see a small view of the last screen I was working on. It won't open up full screen, what should I do. I've closed it and restarted my computer numerous times with no luck.

    Check System Preferences > Energy Saver
    Select:  Put hard disks to sleep when possible
    Then click: Restore Defaults

  • XML Publisher(XDODTEXE) in EBS taking more time with the same SQL in TOAD

    HI
    XML Publisher(XDODTEXE) in EBS taking more time with the same SQL in TOAD.
    The sql has 5 union clauses.
    It takes 20-30 minutes in TOAD compared to running through Concurrent Program in XML Publisher in EBS taking around 4-5 hours.
    The Scalable Flag at report level is turned on with the JVM options set to -Xmx1024m -Xmx1024m in Concurrent Program definition.
    Other configurations for Data Template like XSLT, Scalable, Optimization are turned on though didn't bounce the OPP Server for these to take effect as I am not sure whether it is needed.
    Thanks in advance for your help.

    But the question is that how come it is working in TOAD and takes only 15-20 minutes?
    with initialization of session ?
    what about sqlplus ?
    Do I have to set up the the temp directory for the XML Publisher report to make it faster?
    look at
    R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
    BI Publisher - Troubleshooting Oracle Business Intelligence (XML) Publisher For The Oracle E-Business Suite (Doc ID 364547.1)

  • Limiting Time Machine backup Size with WD MyBookLive and 10.8

    I cannot take credit for the any part of this solution; merely for merging and clarifying how the solutions discovered by 2 Apple Support Communities contributors much smarter than I (namely “Pondini” – Florida and  “himynameismarek”) - worked perfectly for my situation. All cudo’s to these two!
    I have about average or better PC skills, but am an absolute newbie with Apple. This week I got a new iMac. Having a number of home PC’s all sharing files and back up space on a Western Digital MyBookLive (“WD MBL”) 3TB network drive (NAS), naturally I wanted to use it to backup the new Mac rather than rushing out to buy an Apple Time Capsule.
    There are hundreds of threads on limiting size of a Time Machine (“TM”) backup, many of which required entries in “Terminal” or were devised on older versions of OSX. I’m running OSX Mountain Lion 10.8, so was concerned they may not work.
    The issues I wanted to resolve were:
    Time Machine will use up all of the space on my WD MBL if left to it’s own devices.
    The WD MBL is compatible with Mac and PC’s… which is good… but unlike a back up in Windows 7 Pro which will allow you to make backups in a mapped “share” you create yourself, Apple TM Backups will not; they end up in a hidden folder on the NAS (much like PC backups done with WD Smartware)
    At first I thought maybe I could limit the size of a share created in the MBL, but not possible, at least not that I've seen and I have searched for days.
    The solutions:
    First make sure you have the latest firmware for the WD MBL as of today it is MyBookLive 02.11.09-053. From what I’ve read Western Digital fixed the compatibility issues with 10.8 Mountain Lion just recently.
    Next you need to start TM so that it starts to create a back up. You can stop the back up once you see files being copied. Do this before you walk thru the video tutorial by my Marek below. WD MBL will create the hidden folder you need to find for TM Backups. This folder is called “TimeMachine” but it is not visible even in the “MBL_NAME-backup” folder in Finder.
    Open safari and type “ afp://xxx.xxx.x.xxx ” but use your own ip address of your MBL. Mine was 192.168.1.120, yours will be different.
    It will ask how you want to connect. CHOOSE AS A GUEST even if your MBL is protected… I’m not sure why it works but it does. Then a window will come up asking which share you’d like to mount. You will see all of your own shares plus one called software and now one called “TimeMachine”. Choose that one.
    Now in “Finder” you will see a mounted shared item called “YOUR_MBL_NAME-“ (the same as the one that is probably already there but with a dash(-) at the end). You’ll also see a new “device” in the device list called “Time Machine Backups” (If you already have watched the video tutorial by Marek, you’d know you are looking for a file called “YOUR_MACHINE_NAME.sparsebundle”. Well if you browse the folder “Backups.backupdb” in the Time Machine Backups device you won’t find it… again I don’t know why but you won’t. It resides in the hidden folder called “TimeMachine” that is now visible in the thing you just mounted in step 4)
    NOW watch this video tutorial http://youtu.be/Nq7mSizqUSI and follow it step by step.
    Voila... issues resolved. Thank you Pondini and Marek!

    Try Use Terminal to limit Time Machine sparcebundle size on timecapsule,
    should work to limit Time Machine backup size on any NAS or external disk (or not...)
    sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize 500000
    to return to ilimited
    sudo defaults delete /Library/Preferences/com.apple.TimeMachine MaxSize
    if you want to reclame deleted files space shrink it use
    hdiutil resize -size 500g -shrinkonly /Volumes/TimeMachineYOURNAME/YOURNAME.sparsebundle/
    Regards

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • Invalid initial heap size Problem with sdk1.4.2_03

    Hi,
    ich habe a troubling error with the java version 1.4.2_03.
    I use an Ant Task to start a Weblogic Server (J2EE Server). For this, I use the following Ant code :
    -----ANT CODE------------------------------------------------------------------------------------------------------------------------
    <java classname="weblogic.Server" fork="true" failonerror="true" dir="${weblogic.domain.dir}">
    <sysproperty key="bea.home" value="${bea.home.dir}"/>
    <sysproperty key="weblogic.Name" value="${weblogic.admin.server.name}"/>
    <sysproperty key="weblogic.management.username" value="${weblogic.user.name}"/>
    <sysproperty key="weblogic.management.password" value="${weblogic.user.password}"/>
    <sysproperty key="weblogic.ProductionModeEnabled" value="false"/>
    <sysproperty key="java.security.policy" value="${weblogic.home.dir}\server\lib\weblogic.policy"/>
    <sysproperty key="weblogic.security.SSL.trustedCAKeyStore" value="${weblogic.home.dir}\server\lib\cacerts"/>
         <jvmarg value="-Xms32m -Xmx200m"/>
    <classpath>
    <pathelement path="${windows.classpath.wls}"/>
    </classpath>
    </java>
    -----/ANT CODE------------------------------------------------------------------------------------------------------------------------
    This Task perfectly works with the sdk java version 1.4.1_05, but I have the following message with the sdk java version 1.4.2_03 :
    -----ERROR MESSAGE---------------------------------------------------
    Invalid initial heap size: -Xms32m -Xmx200m
    Could not create the Java virtual machine.
    -----/ERROR MESSAGE---------------------------------------------------
    The following parameter is anymore correct : <jvmarg value="-Xms32m -Xmx200m"/>
    I have tried with a lot of possibilty, 64-200, 128-200, 128-128, 256-256, 512-512, nothing works.
    I have tried without this parameter, this works fine.
    I have tried with the weblogic server without the Ant Task, and this works fine too.
    I think this is a bug in the JVM 1.4.2_03.
    What do you think about this problem ??? Do you have some solution ???
    I have also tried with another version of ant, I have the same problem. This works with JVM 1.4.1_05 and not with JVM 1.4.2_03.
    If you have an idea, please, help.
    Thanks

    If you can start a 1.4.2 JVM with all these parameters independently (i.e. not from Ant) and it works, but from Ant it doesn't work, it's more likely that the problem is somehow related to interaction between Ant and the JVM, rather than the JVM itself. So I would suggest trying some Ant forum first - I think it would also work faster than if you try to submit this bug to Sun.

  • When round tripping with photoshop cc, i get a saved psd file with my original raw,the problem is these are high file sizes and taking a lot of space,can i stop this?

    when round tripping with photoshop cc, i get a saved psd file with my original raw,the problem is these are high file sizes and taking a lot of space,can i stop this?

    That's not the workflow that I use. I have my Lightroom preferences set to create TIF images when going to Photoshop. I keep the original raw file and the TIF image (usually reduced to an 8-bit image) and only export JPEG's when they are needed to send to a lab or to send to someone over the Internet. JPEG files are highly compressed. I only create them when they are needed, and they are discarded as soon as they have been used for their intended purpose. I keep the raw file and the Photoshop-created TIF in my library. This requires extra disk space. But I always have the highest quality files available.

Maybe you are looking for