Aight.. So first off, my minecraft mem is down too 1G and i want atleaste.. 3G running in it. I already tried making a bat file saying javaw -Xmx2048m -Xms1024m -jar "C:\Minecraft Stuff\Minecraft.exe" ect.. I tried all that stuff but when i double click it, it works for 1 second, then it closes the console box.. My minecraft crashes every 6 minutes or whenever i hit a lag spike i disconnect and it says my minecraft has ran out of mem.. Help?
first how much RAM does your system actually have and then pay attention to how much ram is already in use. if all you have is 2 gigs it wont start up right. also change the code to
java -Xmx2G -Xms2G -jar <location of minecraft>
see if that works can also allocate 2 gb or ram by doing 2048 - 2048 i see how you have it set up make sure your xmx and xms number are the same. but on the point o how much ram you can allocate to minecraft of course if you dont have 2 gb of ram available then you cant run it at 2 gb. can also make that code shorter by putting your batch file in the same folder where your minecraft is . the EXE not the jar file then simply put
java -Xmx2G -Xms2G -jar minecraft.exe
can change it to 3g 4g whatever but that will atleast make it so you dont have to actually put the full adress in your batch
javaw -Xmx2048m -Xms1024m -jar "C:\Minecraft Stuff\Minecraft.exe" ect.. I tried all that stuff but when i double click it, it works for 1 second, then it closes the console box.. My minecraft crashes every 6 minutes or whenever i hit a lag spike i disconnect and it says my minecraft has ran out of mem.. Help?
can change it to 3g 4g whatever but that will atleast make it so you dont have to actually put the full adress in your batch
the earth first! we can strip mine the rest of the universe after. click the up arrow if i helped.