Coder Social home page Coder Social logo

line indicating perm gen usage about gcviewer HOT 7 OPEN

chewiebug avatar chewiebug commented on July 21, 2024
line indicating perm gen usage

from gcviewer.

Comments (7)

frostyandy2k avatar frostyandy2k commented on July 21, 2024

I would love this feature because I have to check gcviewer and the actual log to make myself a picture. We had a PermGen problem on our dev servers and this feature would have definetly helped.

from gcviewer.

ecki avatar ecki commented on July 21, 2024

With what setting (besides FullGC) this can be read? +PrintHeap*?

from gcviewer.

frostyandy2k avatar frostyandy2k commented on July 21, 2024

Hi 

The normal Xloggc will not print the Permgen data, so it is not visible in GCViewer. 
You would have to enable it first and then it will be printed in the output of GCviewer by default.

In the jboss start-up config add the following parameter:

-XX:+PrintGCDetails 

Example usage: java -Xloggc:./memory.log -XX:+PrintGCDetails Memory 

Then you get the PSYoungGen or PSPermGen output in the gc-log

See discussion here: http://stackoverflow.com/questions/895444/java-garbage-collection-log-messages/11158559#11158559

Hope it helps
Greetings
Andrei


From: Bernd [email protected]
To: chewiebug/GCViewer [email protected]
Sent: Saturday, September 29, 2012 1:44 AM
Subject: Re: [GCViewer] line indicating perm gen usage (#15)

With what setting (besides FullGC) this can be read? +PrintHeap*?

Reply to this email directly or view it on GitHub.

from gcviewer.

ecki avatar ecki commented on July 21, 2024

When I use ParNew+CMS the GCDetails will never print PermStats (unless a FullGC happens which it should hopefully never). I think the -XX:+PrintHeapAtGC(Extended) would do that (but on each GC, however it is tuneable via JMX). Not sure if -XX:+PrintHeapAtSIGBREAK writes into gclog.

from gcviewer.

adosaiguas avatar adosaiguas commented on July 21, 2024

It seems not to be read from the GC log file even after adding -XX:+PrintHeapAtGC.
It would be great to have this feature!

$ grep "perm gen" server.loggc.log
compacting perm gen total 131072K, used 15980K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 15980K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 19222K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 19222K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 32648K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 32648K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 36752K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 36752K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 37649K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 37649K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)

from gcviewer.

chewiebug avatar chewiebug commented on July 21, 2024

Right, this feature is still not implemented independent of the usage of PrintHeapAtGC.

I consider your entry +1 votes for this feature (though I must admit that I still can't tell, when it will be implemented).

Best regards, Jörg

-------- Ursprüngliche Nachricht --------
Von: "Agustí Dosaiguas" [email protected]
Gesendet: 8. Juli 2014 16:14:29 MESZ
An: chewiebug/GCViewer [email protected]
Betreff: Re: [GCViewer] line indicating perm gen usage (#15)

It seems not to be read from the GC log file even after adding -XX:+PrintHeapAtGC.

$ grep "perm gen" NETibcServer.loggc.log
compacting perm gen total 131072K, used 15980K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 15980K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 19222K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 19222K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 32648K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 32648K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 36752K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 36752K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 37649K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
compacting perm gen total 131072K, used 37649K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)


Reply to this email directly or view it on GitHub:
#15 (comment)

from gcviewer.

adosaiguas avatar adosaiguas commented on July 21, 2024

Yes, this is +1!

from gcviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.