Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Process finished with exit code 1
i have this error when i start to excute my program with intellji
in edite configration i change Vm options to :
-ea -Dmodules=core,tables,corenlp -Xms4096M -Xmx4096M .
i want to read some large data and it give me this error
i change the value to -Xms4095M -Xmx4095M it give me error when excute
Error occurred during initialization of VM
Could not reserve enough space for 4188160KB object heap
this program want a 5G of ram
i have 2 ram 4G and the win7 let me use all of 8G.
but here i cant put a value bigger than 4095M !! how i can solve it?