138 questions
2 votes
1 answer
444 views
Difference Between Linter, Sanitizer and Analyzers
What is the difference Between Linters, Sanitizers and Analyzers? And what are some examples of Linters, Sanitizers and Analyzers for Python? Also are they dependent on the IDE that you are using? I ...
0 votes
1 answer
184 views
How can I extract raw byte arrays stored in Map<?, byte[]> objects from a Java heap dump?
I have a Java application (Kafka Streams app) where a few ConcurrentSkipListMap objects are maintained (in InMemoryWindowStore). The type of the key of the maps is org.apache.kafka.common.utils.Bytes ...
1 vote
1 answer
2k views
eclipse memory analyzer tool not working mac m1 java 8
Eclipse memory analyser tool doesn't work on my mac m1 ventura with oracle java 8 installed. Getting the below error while opening the app. Jvm shared library "/Library/Java/JavaVirtualMachines/...
1 vote
1 answer
138 views
How to change a maximum row length limit of 1024 symbols in Eclipse Memory Analyzer (MAT)?
I'm getting used to using Eclipse Memory Analyzer for parsing java heap dump files. So basicly my command looks like: ParseHeapDump.sh /path/to/file.hprof "-command=oql <any oql query>"...
0 votes
2 answers
301 views
Eclipse Memory Analyzer does not show java processes
Having some java applications, which are just compatible with JDK8, I set my environment variable %JAVA_HOME% to the JDK8 path. Furthermore I would like to analyze memory leaks using Eclipse Memory ...
1 vote
0 answers
522 views
How can I analyze heapdump fetched from spring boot admin?
I have an Spring boot application that is running in production, but we encountered some memory problems. I've got heapdump with the help of Spring Boot Admin, then I try to open this file with ...
2 votes
0 answers
186 views
JVM heap dump without trace information: "Unresolved Name"
There is a memory issue on our production environment. We're running under OpenJDK 14.0.1+7 with -XX:+HeapDumpOnOutOfMemoryError I've loaded created hprof file into Eclipse Memory Analyzer it shows ...
2 votes
1 answer
6k views
Memory Leak in Jackson ObjectMapper's SerializerCache
Not quite sure if this is a Jackson question or a Springboot question, or Jetty: My microservice became unresponsive in production apparently due to excessive memory usage (telling from OS RSS stat) ...
1 vote
1 answer
5k views
Memory leak due to org.hibernate.internal.SessionFactoryImpl hard to trace
I have this Spring boot microservice that I suspect has a memory issue but I am unable to trace the suspected class back to the service code. Here are some indicating pictures, Seems like a ...
0 votes
1 answer
5k views
How to open eclipse memory anaylzer index files in eclipse
I've heap dump file testdump.hprof. I parsed this file using below command. ./ParseHeapDump.sh /home/rajkumar/Documents/heap-dump-ads03/testdump.hprof The above command generated the below files. ...
2 votes
2 answers
1k views
jps not listing tomcat process and jmap fails to create heap dump
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 &...
2 votes
1 answer
2k views
Why do I get OutOfMemoryError but the heap dump shows a lot of memory as free
My Java program reads data from a stream and creates an in-memory cache of parts of it. At some point it throws an OutOfMemoryError, and I've caused it to create a heap dump at that time so that I can ...
0 votes
1 answer
487 views
Finding cause of orphaned database connections between tomcat with hikari pool and PostgreSQL server
I have many unclosed connections between my tomcat server and the postgresql server. I'm using a hikari pool to manage the connections. I know that I can configure hikari to take care of orphaned ...
0 votes
1 answer
1k views
adding analyser in ElasticSearch field of type array
I have an elastic search object in which one field is an array type. now i want to apply a different analyser than standard default one. when i pass analyzer in index definition, it is throwing error. ...
2 votes
1 answer
2k views
Java Memory leak: Why are unreachable objects not collected?
I am trying to find a workaround for the JDK Nashorn bug JDK-8229011. I reproduced the error with the script linked in the bug ticket and took several heap dumps. I used JProfiler and Eclipse Memory ...