I'm running a JavaFx Application using Netbeans 8.2. When the application is initialised, I click on the application menu to open a file, which pops up the file chooser window. Now, this is where the problem happens. When I look at the memory usage in the System Monitor (on Ubuntu 16.04 LTS), the java memory usage keeps on increasing (see image) every few seconds until I cancel the file choose window.
I ran the profiler in netbeans to get some insight, but everything seems fine. Even heap usage is within limits. Not sure what the issue is.