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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -