I created a Minecraft server and I want to put 2GB, but it tells me I don't have enough memory (something like that), but I have 8GB of ram. Anyone know why I have this issue? I read some people also having this problem but I didn't found a solution yet.
My bad. It seems that I had 32bit version. I thought the java installer in the main page would install the correct version depending if I had 32bit or 64bit. I fixed it installing the 64bit java version.