java - JavaFX ScrollPane memory leak software pipeline -
i have simple code , run -dprism.order=sw using jdk8_45:
@override public void start(stage primarystage) throws exception { stackpane root = new stackpane(); root.getchildren().add(new scrollpane()); scene scene = new scene(root, 300, 250); primarystage.settitle("test fx scrollpane"); primarystage.setscene(scene); primarystage.show(); }
run visualvm , have following: greates object int[] - 9-10mb
than resizing window many times , @ visualvm out calling gc: greates object int[] - 400-500mb
after calling gc: greates object int[] - 140-150mb
if heap dump , @ int[] - it's images, , on time become more , more.
if run -dprism.order=es2 it's right.
any solutions this? thanks
Comments
Post a Comment