I am adding Openlayers map to WebView added to a swing panel. Heap memory usage increases steeply while zooming/adding layer/replacing layer. java.lang.OutOfMemoryError: Java heap space I think Images are not getting garbage collected properly. Heapdatabuffer retains instances of ImageFrame eg: - value: com.sun.javafx.iio.ImageFrame[] #3 (1 items) -> [0] - class: com.sun.javafx.iio.ImageFrame[], value: com.sun.javafx.iio.ImageFrame #3
|