re-open
Public

I’m experiencing very high CPU and Memory usage when running ForeUI (and while no other Java application are running at the same time).

Just browsing thorugh the pages in a not complex plot makes the CPU usage jump to 98 %, and while working in ForeUI I’m experiencing lag. Things are not running as smooth as they used to. If I stop using ForeUI for a moment, CPU usage goes to 1 %. I think that 675 MB of Memory is also a lot for opening a single plot with 7 pages and not much behaviour. There a no loops or anything like that.

 

I’m using a brand new laptop with i5-5300U 2,3 GHz with 8 Gb RAM and Windows 10 64-bit installed.

ForeUI 4.20.

Java 1.8.0_91.

Any ideas?

4 answers

Staff June 3, 2016

Hi Ulrich, does this problem happen on all plots? Or it only happens on specific plot?

I don’t have Windows 10 on hand, but my ForeUI works quite well in Windows 7, and the CPU usage is much, much lower than yours.

#1
  1. It happens with smaller plots as well. I have tried restarting the computer, but the problem apears again.Only solution at the moment is to close ForeUI, wait for tyhe Java process to die, and then open ForeUI again. - And then repeat it when ForeUI gets too slow to work with.It seems that the memory usage just keeps increasing. It's 740 MB at the moment with only one 7 pages plot open.
  2. ViVi Staff June 3, 2016
    I doubt if it is related to Windows 10. Has your machine ever installed Windows 7/8 and run ForeUI before?
  3. No, it's a new laptop. Before that I user a PC with Windows 7, and I did not experience this.
  4. I had left ForeUI open during the weekend, and just now, as I resumed, the memory usage was about 240 MB. As soon as I started switching back and forth between the pages, the memory usage increased for every "page turn" and it quickly reached 700 MB.
  5. ViVi Staff June 6, 2016
    We will make some tests on Windows 10, to see if we could reproduce this issue.

The issue has partly disappeard.

  • The huge CPU usage issue is gone. The CPU usage no longer stays above 90 % but drops to just above 0 % if I leave the plot open but stop working in it.
  • The memory usage issue, however, remains. The memory usage keeps increasing if I switch between pages in a plot. I would expect the memory usage increase to some point when the content of the pages has been “loaded”. AsI type this comment I have a 7 pages not-complex plot open, and memory usage has increased to above 600 MB. Isn’t that higher than you would expect?
#2
  1. ViVi Staff June 27, 2016
    Thanks for the update Ulrich. The memory usage is much higher than it should be. I have a feeling there may be a memory leak in JVM level, but we could not prove it yet.

I just realized that I have maybe wasted your time, because I’m not running Windows 10 64-bit. I’m running Windows 7 64-bit… (I’m running Windows 10 on my laptop at home, but I don’t use ForeUi on that one…). Sorry about the confusion.

I still have a memory issue though, and I have experienced the CPU usage issue again today… :o/

 

 

#3

Have you had a look at this issue? I still have both a memory issue and experience very high CPU usage (that does not drop as long as ForeUI is open) :o/

I’m running launch.jar, so I guess it is not a JVM issue, right?

 

Laptop with i5-5300U 2,3 GHz with 8 Gb RAM

Windows 7, 64-bit

 

#4
  1. ViVi Staff December 23, 2016
    Hi Ulrich, we could not reproduce this problem in Windows 7 and Mac OS, so we are going to make some tests on Windows 10. The testing was pending because we have some urgent tasks in another project. I am afraid the progress will not come within year 2016.

Please login or Register to Submit Answer