Full GC Time

Hi,
I'm trying to find How to monitor the Full GC Time (or the real GC Time) of my java process with JMX. when I try with Jconsole, I see that GC Time (in my case) is composed of ParNew Time (young) and CMS Time (tenured???) as follows :
GC time: 
10.328 seconds on ParNew (261 collections)
00.231 seconds on ConcurrentMarkSweep (4 collections)
But when I launch a gc() with the Jconsole, I see in my process log (my host was busy) :
[Full GC 323515K->61542K(1028096K), 9.6899086 secs] , yes 9.7 seconds !!
why I do not see more seconds for the CMS in the Jconsole after that ?
GC time: 
10.328 seconds on ParNew (261 collections)
00.235 seconds on ConcurrentMarkSweep (6 collections) <-- only 235ms
is it real time in one case (Jconsole) and CPU time in the process log ?
I tried with jstat and it returns the good value in GCT (FGCT + YGCT) :
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 0.00 6.97 7.29 59.95 261 10.331 6 10.381 20.712
thanks

Hi,
Try to experiment with the XX:MaxNewSize=356m, -XX:NewSize.
Or -Xmn.
It may work again with 1.4.1.X.
I have problems with this in the higher versions
of 1.3.1_XX but it helped with the older versions
a lot.
andreas

Similar Messages

  • Hi,  I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, t

    Hi,
    I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, the only thing I can do is the force quit keyboard shortcut but there is nothing to quit, I have tried to start up in safe mode but again there is no icons in the desktop,
    I have my disks that came with my laptop I have went into disk utility to repair disk and I still seem to have the same problem .. No icons or apps or anything lol just the cursor I can only shut down the laptop via power but and the press shut down.
    Please help I am going out my mind with this thing :(
    Thanks x jade

    This can be used to boot the machine and delelte enough files to get it to boot normally.
    .Create a data recovery/undelete external boot drive
    Read about storage drive so you can store your extra stuff.
    Most commonly used backup methods
    Also here to see how a full boot drive slows the machine down
    Why is my computer slow?

  • HT1725 When I download a song from iTunes into my library, it often says it has downloaded, charges me for it, and on the song in my library shows the full playing time. However, when I play the song, at around halfway through it skips to the next song?

    When I download a song from iTunes into my library, it often says it has downloaded, charges me for it, and on the song in my library shows the full playing time. However, when I play the song, at around halfway through it skips to the next song?
    i'm just wondering:
    a) why it does this
    and b) how to stop it doing this, because it still charges me for the song :/

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

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

  • I cant open a New document because it says my scratch disks are full every time?

    I cant open a New document because it says my scratch disks are full every time.. I checked my selected scratch disk and it said I have about 9G of free space.. Problem is when I open the initial window to set the width, height and res it says my image size is 20.3G.. Is this the reason why I cant open a new Document?

    Good day!
    when I open the initial window to set the width, height and res it says my image size is 20.3G
    What are the dimensions, resolution, Color Mode and bit depth?
    Could you inadvertently be using ppcm instead of pip?
    9GB of scratch space seems way low for serious image editing, check this out with regard to Photoshop Performance:
    http://helpx.adobe.com/photoshop/kb/optimize-performance-photoshop-cs4-cs5.html
    Regards,
    Pfaffenbichler

  • External hard drive no longer found after becoming full from time machine, External hard drive no longer found after becoming full from time machine

    Hi, I have been using an external hard drive as a backup for my Mac using Time Machine.  I was under the impression that once the backup drive became full, it would start to delete previous versions of the backup.  However, instead of doing that, it has just stopped working and I now cannot access the hard drive via a Mac or a PC.  On the PC, it does at least show up in that it will allow me to disconnect it safely but I cannot do anything else with it.
    I am now looking to reformat it, and start again from scratch - but can't do this as it doesn't show up anywhere.  Does anyone have any advice about how I can get this working again?
    Thanks.

    Can you see the drive in Disk Utility? If so, try selecting it and using the Mount button in the top menu. You can also run repair disk and repair permissions.

  • Software Systems Engineer (LV, LV RT, LV FPGA, CVI TestStand, Veristand, C/C++) available for full/part time and remote project work

    I am a software engineer with lots of experience in embedded and test systems. I am a certified TestStand developer, and recently finished a cRIO based embedded system for a medical device company using LV RT and LV FPGA. I have done a lot of TestStand customization and APIs to HIL and other test equipment and created my share of Windows/Linux based C++ applications and libraries.
    I am located in Southeast Michigan and interested in both local and remote project work, as well as full or part time employment.
    I will be at NIWeek 2010 on Wednesday and Thursday. I am holding a session on Simple TCP/IP messaging on Thursday.
    If you would like to meet during NIWeek and/or request my resume please email me at [email protected]

    I saw your posting on the LabView discussion forum concerning your need for a LabView Software Systems Engineer.
    I am a consultant and I am currently available for contract work.
    I have done the things you describe as experience you would like to have.
    I have attached a "Fact Sheet" which describes some of the systems I have built.
    You will notice that I am experienced with developing hardware systems and controls as well as software systems..
    I have over 20 years of experience developing these kinds of systems and have worked with many different kinds of hardware/computer interfaces as well as numerous different software environments.
    If you are interested in discussing this further please call or email me.
    Tom Moser
    ForMost Systems
    North Canton Ohio
    330-470-0404 begin_of_the_skype_highlighting              330-470-0404      end_of_the_skype_highlighting x202
    email:  [email protected]
    Attachments:
    IS 071410a .pdf ‏253 KB

  • My 2TB external drive is not full, but Time Machine thinks it is

    If Time Machine really is deleting the oldest backups as it goes, then why am I suddenly getting this error message?
    The external drive dedicated strictly to Time Machine use is 2TB in size, and it's been running fine for almost a year until now.  What gives?

    Here's what Time Machine looks like as it starts ...
    ... and here's what happens shortly afterward:
    Now why it's showing no backups at all on a supposedly empty hard drive (when it's getting ready to run) is odd enough, but then halting and saying the **** hard drive's full is extremely strange.  Both cannot be simultaneously true.
    What the heck's going on?

  • Backup disk full but Time Machine wont over write?

    My Seagate Drive is full, and I get a report every day that the drive is full.
    I understand that Time Machine should delete old files to make room for the new Backup.
    Any suggestions to get this problem solved would be appreciated.
    I can not see any options in Time Machine that can be changed?

    See #C4 in Time Machine - Troubleshooting.
    If that doesn't help, please clarify what's going on.  See #A9 in the same link for what we need, and how to get it.

  • Time machine disk is full?, time machine disk is full?

    I have a mac pro and an MBP that has been using a network drive as a time machine for over a year now. I keep getting error messages that time machine is full. How can I delete all but my last backup so bother machines can start backing up again?

    See C4 & C18 for possible solutions.
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • Suddenly there is not enough space on my 1TB Time Machine Backup HDD allthough my MAC HDD ist with 0,5TB only half full! Time Machine wants 2 TB space.

    My Backup HDD for Time Machine has 1TB, same as my MAC-HDD. The Mac HDD is only .5TB full. But suddenly Time Machine wants 2 TB of space for the backup, allthough I have erased all earlier backups and the HDD is empty. I've activated file vault, but some time ago, so I don't think that's the reason.
    I also excluded Windows 7 on Parallels.
    What happened???
    I'd appreciate some help.

    What version of OSX are you on?
    It sounds like you may have a directory problem on your internal HD.  Verify it, per #6 in Using Disk Utility.
    Just to be sure the TM drive is really empty, erase it, per #1 there.

  • What is the Full Charging time of asha 305

    i want to know in how much time its get full chargedup from  0 to 100

    don't have 305 so don't know it's charging time. one thing that I have noticed is that USB charging is a lot slower than using the real charger (round plugin). 4hours sounds really long time, my x3-02 charges up within a hour or so (haven't really measured)

  • Extremely long(10 minute)  Full GC times

    I have a problem that seems unrelated to traditional GC tuning. Full Garbage Collection on my server (x86, Linux, 2 proc, 2GB memory, 1GB Heap) is taking in excess of 10 minutes. The frequency of the Full GC is about every 8-10 hours. I've combed some posts for issues related to long GC, but long is a relative term, and usually refers to 2-10 second range.
    My question is, what kinds of things could cause such an extremely long GC. My theory is that this particular machine is hosting some other applications, most notably a mysql server that is connected to remotely. With this setup, another application could be using resources on this primary server while the Full GC is executing, thus causing a thrashing scenario from a CPU perspective. But even so, it seems that this wouldn't cause Full GC to take 2 orders of magnitude longer.
    I've currently changed to the CMS garbage collector, so the long pauses are not a problem, but I'd really like to understand why such a long Full GC pause is even possible, and what can be done about it using the serial Collector

    Possibly the objects that are being garbage collected, are having their finalize() method called. It's not normally guaranteed that the GC will call an objects finalize() method....but you never know.
    In that case, the finalize() method(s) maybe be timing out, eg. trying to close database or network connections, and taking 60 seconds or more to time out individually.
    It's just a wild guess...
    regards,
    Owen

  • Letting iPhone4 die before charging it full first time out of box?

    Hello!
    I just got my second iPhone4 (the first one I had for 6 days but it had some connection issues so I exchanged it) and I was told by the Sales Associate at the cell provider where I purchased it from that I need to let it die completely (power itself off) and then charge it in full (and not touch it while it charges) the first time to "train the battery".
    I've been reading similar threads about initial charges but nothing really answers my question.
    I've had this phone for about 3 hours and my battery is currently at 18%.
    Any help is appreciated.
    Thanks!

    So there's really no need to run through an entire cycle right now?
    Thanks very much, I was a little unsure of why he said that, especially because I've heard iPhone batteries (I just switched to an iPhone from a Blackberrry) don't need to be "trained".

  • Full Crawl Time Comparison

    Hello All,
    We have a site that stores documents with patient information.  Last year we wanted to reduce the records in because the full crawl was taking too long.  In an attempt to control the length of a full crawl, I created an archive site and
    every month I move records from the active site to the archive site.  The concern was if we ever were backed into a corner and had to do a full crawl, we could get the search available as quickly as possible for active patients.
    I set up new content sources for our farm so they could be crawled separately.  That way I was able to initiate a crawl just for the active records.
    The original (active records) have 174,000 documents in it and takes 11.5 hours for a full crawl.
    The new Content Source I created for the archive that has 340,000 documents in it only takes 2.5 hours to do a full crawl.
    Why would the smaller site based on the number of similar documents take 4x - 5x the time to do a full crawl?  Is there some sort of overhead specifically associated with the Content Source "Local SharePoint sites"?
    Thanks, for any insights.
    Bryon

    I would agree that SQL processes would affect it, however we are not an intensive SQL shop.  I am the only person with SQL experience here, so I became DBA by default.  Out non-SharePoint DB backups take 8 minutes.  I back up content
    databases every night.  That takes 45 minutes. 
    The 11.5 hour crawl ran at night with a minimal group of users accessing it beginning at 5:30 last night.  Even accounting for 45 minutes of backing up Content DBs, it doesn't make sense. 
    The 2.5 hours ran during our peak of network activity from 8:00 AM to 10:30 AM.  All the clinicians in the field access the medical records during the day, hardly any one at night does.
    Local Intranet Sites are the medical record site only as I filtered that in the "Start Addresses."  The archive is similarly filtered with just the archive site.  Would this exclude the user profiles having it set up this way?
    I have a third Content Source I created called "Operations" that I moved all other sites other than the active medical records and the archived medical records to.  This one takes about two hours.

Maybe you are looking for

  • Conditions for PO approvals in R/3 system

    Hi We are on SRM 4.0 classic scenario and backend as ECC5.0 We have a requirement where PO approval is to be done in backend R/3 system, only for POs which are created from SRM sourcing cockpit and R/3 manual POs. POs that are created from catalog ba

  • IOS 4.2.1 - can't sort events anymore in Photos app?

    I have an iPhone 4 running iOS 4.2.1, and I'm using iTunes 10.1 and iPhoto '11 (9.1) on OS X 10.6.5. In iPhoto on my computer, I have Events sorted newest to oldest, and it showed up that way on my iPhone before the iOS 4.2.1 update. Since updating,

  • Clear device list on a EA2700

    I have a cisco EA2700. Does anyone know how to clear the connected devices list? I want to use the parental controls, but when I look at the list it shows every device that was ever connected to my wireless. PLEASE how can I flush the list Thank You

  • Change language to use a valid license of another language

    Hello, I have a license for Adobe Acrobat X Pro in German. After installing (and license) it in German I changed the language to English. After 30 days, the trial period of the English version has expired, and now I´d like to change the language back

  • PPPoE (not finding host)

    I'm having internet connection issues. I have recently moved apartments and my internet was installed. Now the internet connection, hardware (modem, cables, etc.), and my computer all operate fine, yet I'm unable to connect to the PPPoE host. I don't