Skip to main content
0 votes
1 answer
84 views

I'm trying to get a Java heap dump out of a GKE container. First I connect to the container: kubectl debug -it my-pod --image adoptopenjdk/openjdk11:latest --target=my-container -- bash Then I run: ...
Carl Patenaude Poulin's user avatar
0 votes
0 answers
100 views

I am developing a client application in ASP.NET Core Web API and want to integrate JMAP functionality using Stalwart Mail Server. Specifically, I need guidance on: Establishing connectivity between my ...
Mudasir Rehman's user avatar
0 votes
0 answers
126 views

$ jmap -heap 95320 Attaching to process ID 95320, please wait... Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process: ptrace(PTRACE_ATTACH, ..) failed ...
Charles's user avatar
1 vote
0 answers
177 views

I'm trying to create and analyze a heap dump using Java Jmap. I learned how to do and concept through Google. jmap -dump:format=b,file=heapdump.hprof[pid] If the command at the top is executed, does ...
Changjoon Lee's user avatar
2 votes
1 answer
4k views

I have downloaded Java JDK 17 and I need to analyse a dump I did with the jmap command. I have searched about how to do it and jhat is apparently an already installed command that lets you analyse the ...
Mr.D's user avatar
  • 99
1 vote
0 answers
109 views

I have a simple java class "Tile" that declares 4 fields : two integers two objects (pointers) I'm trying to know what is the exact memory footprint of an instance of this class. Using the ...
sr-01-01's user avatar
  • 115
0 votes
0 answers
228 views

When the JVM (OpenJDK 18) throws an OutOfMemoryError, I want to make sure it stops and we take a heap histogram using jmap. I achieve that with the flags -XX:-ExitOnOutOfMemoryError -XX:...
TTT's user avatar
  • 6,956
2 votes
1 answer
3k views

How can I install jmap on my docker container to get its heap dump once its deployed to AWS ECS as a container.I am using distroless as my base java image.Below is my dockerFile.I have managed to ...
Amol Kshirsagar's user avatar
0 votes
0 answers
15 views

I was trying to generate a heap dump by the script below. The jmap command works from the cmd. But it fails if I run by the script. Any idea why? #!/bin/bash # Check to ensure we're running as root. ...
Zhang's user avatar
  • 61
5 votes
0 answers
768 views

macOS Monterey version is 12.5 and jdk version is 11 I was going with sudo jhsdb jmap --heap --pid xxxx to analyze java process. Then I got the error followed Password: Attaching to process ID 47413, ...
MMMMMCCLXXVII's user avatar
0 votes
2 answers
2k views

I'm tired to trying to dump java heap when I need it. Any time when I could do that none of utils are not able to do that. I'm trying jmap, jvisualvm, jconsole, jmc and none of them not able to do ...
Mingun's user avatar
  • 188
0 votes
0 answers
812 views

I have an taken a core dump file from a machine, with file size 2GB. I can open this file with gdb and see the processes that were running when I took the core file. I want though to convert this file ...
gepapageorgiou's user avatar
1 vote
1 answer
672 views

I am trying to hunt the memory leak in Java Spring Boot app inside docker container. Heap size of the app is limited like this: java -XX:NativeMemoryTracking=summary -jar /app-0.1.jar -Xms256m -...
Ivan Jovović's user avatar
0 votes
1 answer
722 views

The specific exception information is as follows: root@test-6cf7db85b7-sxk8h:/# jmap 7 Attaching to process ID 7, please wait... ERROR: ptrace(PTRACE_ATTACH, ..) failed for 7: Operation not permitted ...
jiankunking's user avatar
2 votes
2 answers
1k views

I have running tomcat (9.0.39.0) server, started by user cpappt and running with pid: 1682650. The machine on which this server runs is not bare metal but a VMware machine and the JVM is from OpenJ9 &...
morecore's user avatar
  • 2,290

15 30 50 per page
1
2 3 4 5
12