How can I fix a "Cannot load Java Virtual Machine" error (memory limit set too high)?