I've been forced into using my older PC which is still vista 32 bit, using java 7 and for some reason I can't get any of the batch files I've found to actually work..
here's the latest version of what I'm using with a fail to do anything type condition
@ECHO OFF java -Xmx2048M -Xms1024M -jar "C:\Users\Shaun\Desktop\minecraft.exe"
What happens? Are you getting any messages when it fails? How much RAM does your machine have? It may be that you don't have enough available RAM to allocate up to 2gigs.
Another possibility is that Vista's permissions isn't letting the script run. Try right clicking the launcher and telling it to run as administrator to see if that helps.
with a 32bit OS you shouldn't bother trying to increase the heap, as you can't get much bigger than the defaults anyway. 2048M is NOT valid for a 32bit system, it's too large.
32bit Java can handle 4 GB, or so I thought of RAM. When I run it it just goes through and stops at the pause never loading minecraft. This PC has 8 GB of RAM in it..
32bit Java can handle 4 GB, or so I thought of RAM. When I run it it just goes through and stops at the pause never loading minecraft. This PC has 8 GB of RAM in it..
No. 32-bit Java can only allocate up to 1.5gb of RAM.
As has been said, no. 32bit Windows has a 2GB process size limitation, this 2GB size has to contain not only the heap (which is what you are trying to control, but also all the rest of the process, the JVM code, the JVM memory, the windows DLLs used by the JVM and minecraft, the minecraft Java code, etc. The net effect is that the heap sizes around ~1.4-1.5G start seeing failures of the JVM to initialize because they cause the 2G limit to be violated.
The Pause command should only be hit once all the lines above have finished, which implies that java has exited..
One thing though, do you really have the ECHO and java on the same line? If it is, then you need to put a line break in after the ECHO OFF command
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumhere's the latest version of what I'm using with a fail to do anything type condition
@ECHO OFF java -Xmx2048M -Xms1024M -jar "C:\Users\Shaun\Desktop\minecraft.exe"
pause
Another possibility is that Vista's permissions isn't letting the script run. Try right clicking the launcher and telling it to run as administrator to see if that helps.
by c0yote
I tried it with terrible results. I gave my wife my glasses for a second, a creeper showed up and now my wife is pregnant.
Stupid 3D..
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Retired StaffNo. 32-bit Java can only allocate up to 1.5gb of RAM.
The Pause command should only be hit once all the lines above have finished, which implies that java has exited..
One thing though, do you really have the ECHO and java on the same line? If it is, then you need to put a line break in after the ECHO OFF command