Skip to Main Content

JavaFX 8 WebView memory usage

977185Feb 9 2016 — edited Feb 9 2016

Hi,

while working on the sample web browser application described in the tutorial here https://docs.oracle.com/javase/8/javafx/embedded-browser-tutorial/add-browser.htm

we observed that the memory usage while running is about 300 Mb and increases after each subsequent click.

This increase is cut down if we disable history records with eng.getHistory().setMaxSize(0); but the memory usage remains above 300Mb.


Is there a way to clear the web engine in order to achieve lower memory consumption?


(the first page to load is http://www.oracle.com/us/index.html and subsequently we follow links randomly on this page)

Regards,

lgs

Comments
Post Details
Added on Feb 9 2016
0 comments
1,084 views