I recently updated my eclipse to:
Version: 2019-12 (4.14.0)
Build id: 20191212-1212
I am now facing the problem in one of my projects (Which I did not before):
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
I already changed my elipse.ini parameters to: -Xms2048m -Xmx6144m
But the heap space is not fully used during the run:
My CPU-Usage is at 100% during the run and the RAM is not really in usage.
Can someone tell me why the cpu is used to this extent and not the ram?
I have an Intel Core i7-9700 and 16GB of DDR4 RAM.
As for my code, I am loading a .csv file with 2 million lines into different HashMaps.
I do not know how to add the class which is responsible for the error, as it has 1776 lines of code.
Thanks for any help in advance.