Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » OOM error Finalizer(OOM error Finalizer)
OOM error Finalizer [message #1827627] Tue, 19 May 2020 14:06 Go to next message
Rinchin Gomboev is currently offline Rinchin GomboevFriend
Messages: 1
Registered: May 2020
Junior Member
I tried to find How to analyze a memory leak through Eclipse Mat.
I have hprof file.
index.php/fa/38148/0/
MAT says
The class "java.lang.ref.Finalizer", loaded by "<system class loader>", occupies 343,930,680 (68.96%) bytes.
Keywords
java.lang.ref.Finalizer

How I can through this information find the place in code which I can fix. I found through
SELECT OBJECTS referent FROM INSTANCEOF java.lang.ref.Finalizer all objects that Finalizer wants to finalize().
Pressing show as histagram I grouped these all.

But how I can find which of this objects stucks through finalize process? And in which place in my code?

Thank you very much.
Re: OOM error Finalizer [message #1827794 is a reply to message #1827627] Sun, 24 May 2020 09:39 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Have you tried running the 'Finalizer Overview' query?
Query Browser > Java Basics > Finalizer Overview

Analyzing Finalizer help
Re: OOM error Finalizer [message #1828205 is a reply to message #1827627] Wed, 03 June 2020 22:57 Go to previous messageGo to next message
Romit Saha is currently offline Romit SahaFriend
Messages: 2
Registered: June 2020
Junior Member
I am facing a similar kind of issue, where the Finalizer() thread is stuck. I think it is due to thread blocking. But dont know what is causing the issue. any help ?
Re: OOM error Finalizer [message #1828298 is a reply to message #1828205] Sat, 06 June 2020 14:16 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I don't think the finalizer thread is stuck.
There is nothing on the finalizer queue.
The 'In processing' java.lang.System$2 object is just a local variable in the initial stack frame java.lang.ref.Finalizer$FinalizerThread.run()V
Try examining more carefully the details of problem suspect 1.

Try using the latest version of MAT - 1.10 or perhaps a snapshot version.
Re: OOM error Finalizer [message #1828299 is a reply to message #1828298] Sat, 06 June 2020 14:30 Go to previous message
Romit Saha is currently offline Romit SahaFriend
Messages: 2
Registered: June 2020
Junior Member
In the Unix box it's showing 80 % full memory..but in the MAT overview screen it shows only 300mb heap size where can I see the rest of the memory going in jvm..how to include the unreachable object size
Previous Topic:OQL: Why is the returned object not a String but "com.ibm.wps.state.keymanager.ValueImpl"?
Next Topic:Auto launch an user defined query
Goto Forum:
  


Current Time: Thu Apr 25 21:41:59 GMT 2024

Powered by FUDForum. Page generated in 0.03490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top