Thanks guys, this worked, even tho when I added -Xms1024m -Xmx2048m, the memory settings still showed 1024 maximun memory, 512 initial and 128 on early. I changed maximun to 2048 and left the rest as default.
Anyway, the problem i see with this is, when I fire Starmade my friends can't see that...