I am trying to run mvn install in a project using jdk 1.4 which normally works. The jdk1.4 installation is 32-bit and my OS is windows 10 64-bit. But now I receive the following error:
[javac] Error occurred during initialization of VM
[javac] Could not create the Java virtual machine.
[javac] Could not reserve enough space for object heap
Naturally, I thought that some problem has occurred that has to do with low heap size (although it used to run with no problems with this application). The weird thing about my problem is that -Xmx1024M does not work for me but -Xmx800M works. It needs to run with lower memory rather than more memory. Does anyone know why such a problem could occur?