I am trying to read a file which size is 1.29gb and I am getting this error. I also tried by increasing and decreasing the VM option(-XX:MaxHeapSize=1500m
)
"Error occurred during initialization of VM Could not reserve enough space for 1536000KB object heap C:\Users\MM COMPUTER\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1 BUILD FAILED (total time: 0 seconds)"