Comments (7)
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.
With what setting (besides FullGC) this can be read? +PrintHeap*?
from gcviewer.
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.
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.
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.
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.
Yes, this is +1!
from gcviewer.
Related Issues (20)
- Release 1.36 Please HOT 6
- {"result":"{\"error\":515,\"message\":\"Unable to detect JVM version or GC type from the log file.\"}"} HOT 2
- Total promotion can get negative HOT 8
- 时间区间缺少png自动选择功能 HOT 1
- Error parsing openjdk 11 logs HOT 1
- OpenJDK - additional tags fail parsing HOT 1
- SEVERE [DataReaderFactory]: Failed to recognize file format. HOT 5
- macOS - Application hangs when quitting
- Error when open file HOT 2
- Parse problem for Java 11 Unified GC logging format HOT 1
- GCViewerForQianKunZhao HOT 1
- What do you think of changing the license to Apache 2.0? HOT 3
- Failed to parse gc event "Merge Heap Roots" on Adopt OpenJDK 17 HOT 1
- The reported freed memory is incorrect
- Java 17 ready version ? HOT 1
- Tenured Generation graph not showing up when using openJDK 11 HOT 2
- The environment variable JAVA_HOME is not correctly set. HOT 1
- Wrong graph display when open series HOT 4
- Parse xml G1GC on openjdk9 error
- Interactive Action of mouse movement on chart HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcviewer.