jcmd Questions

1

I would like to diagnose some unexpected OOM errors using jmap or jcmd. Unfortunately, these tools are not easy to use in a CI pipeline, because I would have to launch the JVM app in the background...
Td asked 8/8, 2022 at 0:38

3

Solved

I have tried to take a heap dump using jcmd (from a git bash console window): $ /c/Program\ Files/Java/jdk1.8.0_202/bin/jcmd 25156 GC.heap_dump filename=livetest-grindtohalt.hprof 25156: Heap dump...
Cornwall asked 23/10, 2019 at 9:27

4

We are monitoring jvm metrics like heap, metaspace, threads and gc count and we are able to push these metrics to monitorng server like prometheus. Similarly we wanted to track Java native memory m...
Alleyway asked 12/8, 2019 at 3:10

1

Solved

I am trying to take heap dump using below 2 commands jcmd $pid GC.heap_dump /tmp/filename.dump jmap -dump:format=b,file=/tmp/filename.dump $pid jcmd produces file size of ~300M and jmap produc...
Stenophyllous asked 28/8, 2018 at 8:33

1

Solved

Dimensioning a docker container for a JVM based service is tricky (as we all know). I'm pretty sure we have slightly under-dimensioned a container and want to clear up a few questions I have relati...
Beside asked 15/11, 2017 at 14:22

2

Solved

I was trying to experiment with jcmd VM.set_flag option. But came across one error saying "only 'writeable' flags can be set". What are writable flags ? Getting my pid: XXX@XXX-Air:~/javacode$ jc...
Valaria asked 17/10, 2017 at 8:1
1

© 2022 - 2024 — McMap. All rights reserved.