665 questions
0
votes
0
answers
33
views
Visual VM: "Profile -> Memory" section is empty
I'm trying to profile a sample java app using VisualVM.
I tried starting the app both from Eclipse, and from Windows cmd: same result each time.
In the Profiler tab, the CPU section shows correct ...
1
vote
1
answer
67
views
CPU Sampling/Profiling of Helidon app in VisualVM
I have a Helidon app and would like to take CPU samples and/or start a CPU profiler. This does not work.
With the same setup, it works for a simple (non Helidon) app
Trying to start the CPU (and also ...
1
vote
0
answers
84
views
investigating java.lang.OutOfMemoryError: unable to create native thread in an SBT build in Docker
One of our teams using SBT is moving to run their build in a self hosted Github runner, and it's now failing while running the tests with this error :
[106.424s][warning][os,thread] Failed to start ...
1
vote
1
answer
218
views
Strange garbage collection behaviour leads to server performance degradation
Background to the Application:
We have a Java WebApp on a Tomcat Server for multiple users. We have 30+ customers servers running.
Problem:
On one particular customer we run into a strange phenomenon ...
0
votes
1
answer
75
views
VisualVM not able to connect to JavaApp Inside Container
I have spin up one container which is running a micronaut app inside it. I have passed all required JVM arg for JMX connection but still VisualVM/Jconsole not able to connect to it.
When I am trying ...
0
votes
0
answers
63
views
VisualVM not listing my JBOSS Java application
I am using Visual VM to analyse the JVM but when i start the Visual VM, i am not getting my Java process listed in the Local. I even tried running the Visual VM as Administrator but still i cant see ...
3
votes
1
answer
140
views
Understanding the relationship between Max Heap size, Heap size and Used heap
For this application, -Xmx64m is allocated (the same can be seen from the chart from VisualVM). However, it is not clear what exactly these areas mean in the context of memory allocation to this ...
0
votes
0
answers
40
views
Finding where these instances used which consuming more memory
I'm debugging/analyzing Springboot application using VisualVm and Eclipse Memory analyzer tools to find out where heap memory used more. After that plan is to see how can we avoid such instances to ...
0
votes
0
answers
336
views
Connect VisualVM to JBOSS EAP 7.4.0 and java 11.0.22
I am trying to connect a VisualVM to a remote jboss EAP instance to check the performance.
I have checked related posts but not got succeeded. The instruction I was following is:
Jboss EAP 7 - ...
0
votes
0
answers
125
views
(Spring Boot 2.7.18) After running the application, something filling in the Eden Space
You can see the executed application code in https://github.com/JadeKim042386/AccountService.
[Environment]
Mac M1
JDK 17 / G1 GC
[VM Options]
-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun....
-1
votes
1
answer
662
views
Unable to run visualvm in Ubuntu 22.x in WSL 2
I am on Windows 11. I have already setup Windows version of VisualVM and able to perfectly run it without any issues.
I wanted to try the Linux flavour. I setup sdkman, java, and maven. But for some ...
0
votes
1
answer
287
views
Convert bytes to base64 encoded string with OQL query
I'm using VisualVM to extract information from java heapdump. Is it possible to convert this into a base64 encoded string directly in the query?
1
vote
0
answers
36
views
Why does rate of memory allocation in an application change depending on network settings when using VisualVM to monitor the JVM heap size?
Environment: I was using VisualVM IntelliJ plugin to investigate a memory leak in a standard OpenJDK Java 8 service I have running locally, and I believe I solved the application bug.
Problem: However,...
1
vote
2
answers
3k
views
how to connect visualvm with the application running in kubernetes pod?
I have an application running as a pod in a Kubernetes cluster, specifically on an Amazon EKS cluster. I want to monitor the heap size of this application using VisualVM. How can I connect VisualVM to ...
0
votes
1
answer
1k
views
OpenJDK errors java.lang.OutOfMemoryError: Java heap space and Could not reserve enough space for 1048576KB object heap
The team switched from Oracle JRE 1.8 to OpenJDK. Started the test with this version:
java-1.8.0-openjdk-1.8-Ø.372
Things were OK until load testing started and moved to a higher staging environment. ...