JavaFX 8 Memory leak when Hiding Stage

I never did find and answer to this. Instead, I would null the node on hide and restore it back on view. For intensive dynamic nodes/multiple nodes I created a hash map to store them in memory.

This has sort of become a habit for me in javafx8 to dispose all graphics and reassign on hide & view from hash map. The extra memory and cpu usage is negligible on modern desktops. Using this method, I have had 0 cpu usage apps and low memory apps (~100m) running when hidden on win8/10.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)