Invalid initial heap size -Xms4096M

I’m trying to run Cassandra on my computer, but I keep getting the following error message:

Invalid initial heap size: -Xms4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Anyone know why and how to fix this?

I am running:

Windows 10 Pro 64bit
Java 32 Bit

It seems I need to install a 64bit version of JRE. I have tried searching and for this, but I can’t find anything obvious which will let me install a 64bit JRE. The default installer from seems to be 32bit. Can someone please let me know how and where to get the 64bit JRE from?

Leave a Comment