Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
98 views

How to combine ClassTransforms in the new Java 22 ClassFile Preview API

This is a very specific question regarding a very new feature. For context: I am writing my Bachelor Thesis about Runtime Code Generation in Java, and I'm working on a prototype for a profiler where I ...
Alexander Kiefer's user avatar
0 votes
1 answer
504 views

Android Studio profiler and app inspection dosn't detect device

With the previous version of Android Studio everything was working fine, but now that I updated to JellyFish my app process isn't detected and no device is shown in the inspection and profiler. I can ...
saber javadi's user avatar
0 votes
1 answer
174 views

How to Setup Netbeans Profiler for Payara server deployed in remote windows host?

These are the instructions from Netbeans 16 when I try to setup a remote profiling for Manually Started remote Java Process. Step 1: Make sure the target application is configured to run using Java 6+....
Mausam Shrestha's user avatar
1 vote
0 answers
94 views

Profilers not able to take heap/thread dump

I have a Java desktop application which hangs at-times while running a scenario. I tried to take heap and thread dump for analysis. Up until the application hangs I am able to take the heap and thread ...
user3164187's user avatar
  • 1,432
2 votes
1 answer
179 views

Meaning of 'Timeout' column in Socket I/O event logs of Java Flight Recording

In one of our java application, we are seeing that some external calls to a particular DNS observe increasing network latency (99th percentile), while network latency for rest of the DNS are normal. ...
Gaurav Deshmukh's user avatar
0 votes
0 answers
72 views

Profiling java application

I have a problem with my spring boot application. I have a rest controller that sends some http request by apache httpclient. So when I load 1000 req/s to my controller I get answer after 1ms (in ...
Haster's user avatar
  • 165
5 votes
0 answers
3k views

IntelliJ IDEA Profiler error: Failed to generate a profiler dump: check that the JVM supports profiling

Any ideas how to set up a Kotlin project that that we can use a profiler? I don't really care which profiler is used (though looking for both memory and CPU profiling). I've tried changing JVM ...
Anonsage's user avatar
  • 8,340
0 votes
0 answers
772 views

Android Profiler: huge memory consumption, tagged as "Others", that doesn't get garbage collected

I wrote a simple app that does three simple things: matches regex, perform OCR and use openCV to preprocess the image for a better OCR result. For preprocessing the image I am using openCV. For the ...
zaxunobi's user avatar
  • 924
0 votes
0 answers
228 views

Netbeans Profiler output shows "The syntax of this command is incorrect."

I am trying to profile my Java with Maven project named "profilerTest" using Netbeans profiler, but when I attempt to profile my project the progress window gets stuck at "Connect to ...
cloud's user avatar
  • 105
0 votes
2 answers
327 views

Android Runnable - Thread goes in sleeping state once code is executed, does not terminate

I am creating a thread pool for running operations in background in an android app. Following is the code to create the thread pool and perform operations. Thread pool will be created only once but ...
Anuja Kothekar's user avatar
1 vote
1 answer
1k views

Java Native Memory 'Other' section consumes a lot of memory

Prerequisites Application is run in docker-container with Java openjdk version "13.0.1" with these options: -Xmx6G -XX:MaxHeapFreeRatio=30 -XX:MinHeapFreeRatio=10 -XX:+...
Anton Gabov's user avatar
1 vote
1 answer
632 views

Measure memory consumption with all HttpSessions in Tomcat at an arbitrary point in time

I want to measure the percentage of memory used by HttpSession in a web application. Is there any way to measure memory consumption with all HttpSessions in a running Tomcat instance at an arbitrary ...
SATO Yusuke's user avatar
  • 2,264
1 vote
1 answer
945 views

Understanding JProfiler CPU Profiling

I am trying to understand how CPU profiling works in JProfiler and for that I created a very simple Rest Service as shown below: @RestController public class AlertsService { private static final ...
Diego Ramos's user avatar
  • 1,069
0 votes
1 answer
94 views

Difference in CPU usage statistics

Machine: MacBook Java 1.8 ➜ [~] sysctl hw.physicalcpu hw.logicalcpu hw.physicalcpu: 6 hw.logicalcpu: 12 I was debugging a java application using VisualVM and was unable to figure out the following. ...
ffff's user avatar
  • 3,080
4 votes
1 answer
15k views

Checking Run time in IntelliJ IDEA Ultimate

Can I use InteliJ Ultimate's profiler to see how long it takes for a method to be executed?
EinNarr's user avatar
  • 53

15 30 50 per page
1
2 3 4 5
16