Meaningless Drivel is fun!*
The moose likes JavaFX and the fly likes JavaFX WebEngine causes high cpu usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX WebEngine causes high cpu usage" Watch "JavaFX WebEngine causes high cpu usage" New topic
Author

JavaFX WebEngine causes high cpu usage

Constantine Mosch
Greenhorn

Joined: Jan 20, 2013
Posts: 10
Oracle JavaFX Documentation > JavaFX for Swing Developers has a simple web browser SimpleSwingBrowser.java

When I load some urls the code causes high cpu usage.
NetBeans Debugger shows a large number of threads named "URL-Loader".

I think that these threads are responsible for high cpu usage. I search on google about "URL-Loader" without results.

How do I fix this problem?

---------- EDIT ----------

Finally "URL-Loader" thread enters at "Wait" state.
But some Threads remains at "Running" state.
NetBeans Debugger info : Hidden Source Calls > GIFImageLoader
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaFX WebEngine causes high cpu usage