How can I assign more ram to my Minecraft server?

En
- in Servers
4

I have a problem with my Mincraft server. I actually have enough ram to assign to this server (total 24gb free ram). But if I assign it more than 1.6 gb, I get the message Can't Heap Enough Space, Please help.

Sh

How does your start batch file look like?

En

Java -Xmx1700M -jar spigot.jar

Sh

Did you happen to have Java 32bit installed?

En

No