Questions tagged [jstat]

A JavaScript statistical library. Also a Java Virtual Machine Statistics Monitoring Tool.

jStat is a JavaScript statistical library. jstat is also a Java Virtual Machine Statistics Monitoring Tool.

75 questions
2
votes
1 answer

Understanding metaspace size

JVM Settings: -Xms8192M -Xmx8192M -XX:NewRatio=1 -XX:SurvivorRatio=6 -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=512M Output of jstat is S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT …
noob
  • 109
  • 1
  • 2
  • 8
2
votes
1 answer

How to run jstat in windows?

I am trying to run jstat for monitoring GC. I get the vmid using jps command: > jps 18928 GCTest but when i try to run jstat like this: >jstat -gc 18928 The system cannot find the file specified. I get the message The system cannot find the…
Techno
  • 166
  • 1
  • 3
  • 13
2
votes
1 answer

Java heap: What is limiting maximum old generation capacity?

I am investigating performance problems on an EE application which are probably a result of a less than optimally tuned garbage collector. While looking into jstat logs I gathered under heavy load I stumbled upon the following finding: S0 S1 …
fgysin
  • 11,329
  • 13
  • 61
  • 94
2
votes
1 answer

How to call studentt method of jstat to get result?

I have a question about how to use the distribution functions within the jstat library. Specifically, I am focused on studentt. I've tried this: var alphaLevel = 0.05; var degreesOfFreedom = 18; // the answer I want to get is 2.100922 tStat =…
1
vote
1 answer

How to understand jstat -printcompilation output

jstat -printcompilation pid can get information about the last method that is compiled, like: Compiled Size Type Method 207 64 1 java/lang/CharacterDataLatin1 toUpperCase 208 5 1 java/math/BigDecimal$StringBuilderHelper…
1
vote
2 answers

How to capture application monitoring information from the docker container

I have more than one java application running in separate docker containers. I am trying to collect monitoring data such as GC log, thread dump, heap dump from the java process running inside a container using tools like jstat, jstack, jmap. Is it…
Mahesh
  • 103
  • 1
  • 10
1
vote
0 answers

Full GC in G1 GC

Jstat tool gives stats regarding young gc time and full gc time along with other information. As far as I know, Full GC in G1 GC consists of following phases : 1) Concurrent Marking (not Stop the world) 2) Remarking (Stop the world) 3) Reclaimation…
1
vote
1 answer

Java native memory tracking heap committed much more than total from heap dump

Using jdk1.8.0_152 I am trying to track down what part of my java program is using the most memory (mainly in the heap) Using top I see that the whole process is using around 1.109G of residual memory Using jcmd {PID} VM.native_memory I see that the…
markk
  • 607
  • 1
  • 7
  • 11
1
vote
0 answers

Total heap size and used heap jstat does not matches with VISUALVM

I looking for a way to find the HEAP statistics of the given running JVM process. I have read a SO article related to it. Firstly I never understood the difference between Heap size the and Used Heap size so (because the Max heap size means the…
Noobie
  • 461
  • 1
  • 12
  • 34
1
vote
0 answers

About jvm comand :jstat and jinfo

jstat get this: S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT 64512.0 68096.0 46476.6 0.0 535552.0 125004.4 154624.0 106045.5 29184.0 28595.3 12 0.620 1 …
Vayne
  • 57
  • 7
1
vote
0 answers

What are the differents between S0CMX, S0C & S0U

I am using jstat to show the survivor spaces. But I am confused with S0CMX, S0C & S0U. Can anyone tell me what the differents between these indexes are? And why S0C is always much less than S0CMX? Thanks! $ jstat -gcnewcapacity 100142 NGCMN …
Sean Lin
  • 371
  • 3
  • 8
1
vote
0 answers

Why creation of an integer array of size 2^29 (2 gig) is not reflected in the jstat?

I have the following piece of code: public static void main(String[] args) { int[] a = new int[Integer.MAX_VALUE / 4]; while (true); } The size of this array is supposed to be 2^29 and each integer occupies 4 bytes. The overall size of this…
user1745356
  • 4,462
  • 7
  • 42
  • 70
1
vote
1 answer

Metaspace utilization of JVM

I am facing issue with my application which runs in a docker. Out of blue it crash after 30 minutes. As my application deals which cache so first suspect is the memory utilization . I googled and find out using jstat -gcutil command we can monitor…
BobCoder
  • 743
  • 2
  • 10
  • 27
1
vote
1 answer

How to check live memory consumption of wildfly in ubuntu

I am using wildfly (JBOSS 9) as server for my java web application. But after some time i.e. almost 8-9 hours of usage the application becomes dead slow. How can i check the live memory consumption of wildfly in terminal or on UI. I am using Ubuntu…
swayamraina
  • 2,958
  • 26
  • 28
1
vote
1 answer

Garbage Collector implications on Solr

I'm working on a project that fetches certain metrics from Solr, stores them on an index on Elastic Search and further represents them graphically on Grafana. Had certain queries on garbage collection in Solr, they're as follows: How and which…