Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message "Invalid maximum heap size: -Xmx0m" means that the Java virtual machine is trying to allocate zero bytes of memory for the maximum heap size. This is an invalid setting because the virtual machine needs a minimum amount of memory to function properly. Typically, the heap size should be set to a value that is a multiple of 1024 and no smaller than 256MB.