Open PavelTurk opened 1 month ago
Can you drill down and see what's taking up the memory ?
@Jugen This is what I've found out:
These diagrams shows my two scrolling actions . It seems that extra memory is consumed for calculations when scrolling is done, but when scrolling finishes then memory is cleared.
Before scrolling:
During scrolling:
I use virtual flow - and I noticed that on scrolling used java memory added 200 MB. Firstly I thought that something was wrong with my code, but the same problem I found using RichTextFX.
This is test code:
And this is the result (system monitor + test application):
As I understand that with virtual flow same row instances are used for all text lines, then why used memory increased so significantly?