javagwtjvm

GWT Compiler: Error: Could not create the Java Virtual Machine


If anyone could help me with this problem.

I was running the application on Windows 64 bits e it was working fine, but I changed the computer and now it's running on 32 bits.

This error could be about this or it is some configuration?

EDIT: Could not reserve enough space for object heap


Solution

  • It is possible that your IntelliJ's available memory space is not large enough to allocate 1024 to your process. Try reducing the JVM size for your process or increase the IntelliJ JVM memory size

    EDIT: I just learned that the process will not run inside the memory space of the IntelliJ JVM, albeit its own. Also a quick search on the www lead me to understand that the max size of the heap that can be allocated is limited to around 4 GB on a 32bit machine subject to the availability of enough contiguous memory... generally gets limited to 1.2 GB. That might be the problem in your case