GXT HandlerManager Bus Memory Leak

146
May 04, 2019, at 1:20 PM

I'm search for a memory leak in a GWT application. I started with Chrome to create HeapDumps and to compare them after certain actions.

In the summary of each heap dump I can see that after big amounts of arrays, Maps, HashMaps one of the biggest groups of classes is the HandlerManager.Bus class. Each HandlerManager.Bus item contains some Maps. Every click they accumulate in the heap and they don't get removed by the GC.

Starting GC manually also does not help.

Further reading shows that HandlerManager has got to do with ClickEvents and MouseEvents. I'm now looking for those events and source code where these are connected to fields of views and grids and other gwt/gxt code.

Please give a some hints what typically can go wrong with these classes.

I assume that there is some static classes and never lose the reference to this events and so the GC cannot remove them.

It is too bad that I cannot follow the memory objects in the heap as easy like I can do in MAT.

Thanks for your suggestions.

Rent Charter Buses Company
READ ALSO
How to use pdf.js library in a firefox addon

How to use pdf.js library in a firefox addon

I'm making a Firefox add-on extension to insert a pdf document in the translated page of Google and I want to use pdfjs

235
How to integrate pdf viewer in website and customize it [on hold]

How to integrate pdf viewer in website and customize it [on hold]

Hello friends I'm working on website projects which needs to integrate PDF viewer and I also wanted to customize such that users can't use right click and download button will disabledand also suggest me if we want to see eBook which format will be suitable

160
loop returning the same value (Angular)

loop returning the same value (Angular)

I need to replace a template array with values from another array and push it to the final resultThis is what I have tried, the problem is that I get the same value when I loop

145
What is the best way to add snapshot on a collection of firestore when documents are in millions?

What is the best way to add snapshot on a collection of firestore when documents are in millions?

I have a collection like Post (Facebook)I'm fetching the documents 100-100 on scroll down (pagination) in descending order (on basis of the value of creation)

173