powered by Jive Software

Spark 2.6.3 Memory usage

Can anybody explain how does Spark use the system memory??

I opened the Task manager and checked, it was using 111,920KB of memory!!!

Then I minimized it, and the memory usage went down to 8,356K, and when I reopened it, it started climbing up, and after few minutes already reached 50MB!!!

And now, after 50 more seconds, it already reached 115.7MB!!!

It is crazy!

The Java Virtual Machine reserves already a lot space. I can’t speak of Spark (Java Swing), but in our JavaFX application, the JVM is also about 120 MB, while the actual Heap space of our app is only about 20 MB.