Login  Register

Re: Un-managed Memory Usage

Posted by Art B on Nov 17, 2015; 5:56pm
URL: https://forum.jogamp.org/Un-managed-Memory-Usage-tp4035789p4035796.html

There's no easy answer for that.  I code very abstractly so you have to review logs or walk through running code to find out what really happens.

This is the top level scene in question:

    @Override
    public void dispose() {
        viewportListener.dispose();
        optionsModel.removePropertyChangeListener(viewportListener);
        setDataModel(null);
        setSeriesListModel(null);
        super.dispose();
    }

which ultimately calls dispose on these classes in the heirarchy:

https://github.com/pnnl/svf/blob/develop/svf-awt/src/main/java/gov/pnnl/svf/awt/scene/AwtPanelScene.java 

https://github.com/pnnl/svf/blob/develop/svf-awt/src/main/java/gov/pnnl/svf/awt/scene/AbstractAwtScene.java

https://github.com/pnnl/svf/blob/develop/svf/src/main/java/gov/pnnl/svf/scene/AbstractScene.java