You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
I'm currently working with TornadoFX 1.7.20, and serving a demo on the web with JPro. I'm running a heap size of 350mB, and after about 5 to 10 instances launched and closed, I start having low memory issues. Looking at a profile, it seems the amount left over is about 40mB per login. I don't see any memory issues unless I'm running multiple instances on the same jvm.
I am using a menu structure built with the EventBus, and there are also a few custom Fragments and UI components as well. Additionally, I suspect that the way I build certain node trees with functions might be to blame.
Is there something more I should be doing to release Views, Components, etc. from memory?
I'm somewhat new to the JVM environment, but it looks like NIO HeapByteBuffers are taking up the most space.
Hello!
I'm currently working with TornadoFX 1.7.20, and serving a demo on the web with JPro. I'm running a heap size of 350mB, and after about 5 to 10 instances launched and closed, I start having low memory issues. Looking at a profile, it seems the amount left over is about 40mB per login. I don't see any memory issues unless I'm running multiple instances on the same jvm.
I am using a menu structure built with the EventBus, and there are also a few custom Fragments and UI components as well. Additionally, I suspect that the way I build certain node trees with functions might be to blame.
Is there something more I should be doing to release Views, Components, etc. from memory?
I'm somewhat new to the JVM environment, but it looks like NIO HeapByteBuffers are taking up the most space.
Here are the JVM arguments:
Simplified version of project: https://github.com/xcporter/memtest
Possible leak suspects:
EventBus use, also--
does this EventHandler need to be manually unsubscribed?
the way views are replaced
jpro scope/ setup
The text was updated successfully, but these errors were encountered: