I'm using VisualVM and JProfiler to try and find a memory leak culprit.
There's a PoolThreadCache class that has the biggest number of instances.
Is there a way to see the call trace of the object usage? Something like this:
com.my.CustomClass->a.b.c.AClass->d.e.f.BClass->g.h.i.PoolThreadCache
Can I use OQL for this or maybe some outgoing/incoming reference functionality?
Basically I want to find out who is com.my.CustomClass .
How can I see the higher up object that uses the high count instances?
483 Views Asked by osmingo At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in VISUALVM
- Error Opening heap dump
- Visualvm thread started count
- Unable to connect to remote JMX using VisualVM but OK with JConsole
- VisualVM is unable to profile a web application on Eclipse
- VisualVM deployed
- Tomcat. Profiling with VisualVM and fixing possible bottlenecks
- Why is tomcat using more and more heap space during idling?
- How come my HashMap have a duplicate key?
- Eclipse doesn't start after installing VisualVM plugin
- VisualVM Profiling of JavaFX Application
- Heap dump in visualvm glassfish
- Profiling application with VisualVM
- Call GC on Java heap dump
- Can't connect to remote JMX host
- Enabling Weblogic for remote JMX access now makes it unable to connect locally
Related Questions in JPROFILER
- Error while running Jprofile8
- JProfiler not able to detect WebSphere JVM
- JProfiler Remote Application Integration in web sphere 8.5
- Using JProfiler, is there a Recommended Tactic to determine whether app is CPU or Network-bound?
- How do I profile a java server application using jprofiler9?
- JProfiler: Length of sql command
- jprofile : how to indentify why this memory in application keep incresing in its (application's) ideal mode
- How to use JProfiler over two-hop SSH tunnel
- where java store native objects
- How to connect JProfiler to Virgo Server running in remote linux machine
- Can I profile ant task via JProfiler?
- Weblogic server startup profiling tools
- server startup profiling (to reduce time by analysing data)
- JProfiler : knowing which method is calling for java objects
- Cannot integrate JProfiler with Java Project in Netbeans
Related Questions in HPROF
- Interpretation of java hprof histogram
- Heap Dump w/ high memory allocation in Android Studio never finishes
- Why my dumped hprof file show total heap only 9.6MB while the actually heap size is 75MB
- how generating a heap dump automatic in apache tomcat?
- Android: Opening .hprof file In Eclipse
- HPROF ERROR: Cannot allocate malloc memory
- Profiling scala for loops using hprof
- Starting the Java HPROF profiler on-the-fly programmatically
- hprof profiler output doesn't include line numbers regardless of `lineno` value
- Android: Memory Analyzer eclipse plugin(1.1) doesn't launch automatically when pressing ddms "hprof dump"
- Profiling WebSphere with hprof for CPU SAMPLES output
- Understanding java memory usage
- Time spent in Object.<init> (hprof)
- -XX:+HeapDumpOnOutOfMemoryError not creating hprof file in OOM
- Huge byte[] in my app after HPROF
Related Questions in OQL
- VisualVM 1.3.8 OQL - TypeError: [RegExp /java.lang./] is not a function
- VisualVM OQL filter not working as expected
- VisualVM OQL: how to search for primitive float values rather than actual Float instances?
- Java heap analysis with OQL/VisualVM: find path from indirect referrer to referee?
- VisualVM OQL: find object that has (indirect) reachables/references to two object IDs?
- How to make $lookup in MongoDB work with _id?
- Using HINT and TRACE with GemfireTemplate.query method
- GemFire Select * Query with index returns inconsistent results
- OQL and SQL queries. Select all department numbers whose employees have the same salary
- In Eclipse MAT's OQL: how to construct a date from a long integer?
- Eclipse MAT OQL list of classes in a certain package
- GemFire OQL Query - How do I use the count of a SELECT statement in the WHERE clause?
- Formatting the result of oql in VisualVM
- How to access gemfire cache from jdbc driver
- How do I find what an object refers to?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I assume that by
you mean the stack traces where objects were allocated.
In JProfiler, you have to start allocation recording, then the "Allocations" view of the heap walker will show you a cumulated call tree or a list of hotspots with backtraces where the objects in the current object were allocated.