Hi, I've had for a long time problems with the java heap size and I didn't know how to increase it so my minecraft kept crashing, but now I've learnt how to increase it and when I try to increase it above 1024 mb it says
The JVM could not be started. The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution.
but 1gb keeps crashing because my map is too big for that and the game need more heap size, I would say I've tried anything but I did not because I dont know where to even begin, I am now using "java -Xmx1024M -Xms1024M -jar Minecraft.exe"
but it is not enough, and when I try to increase it even a little bit (500m, something like that) it pop that error message.
what can I do to bypass that error without decreasing my heap size??
Trying to start the minecraft.jar
==End of pre-tests and info, minecraft starts here==
Picked up _JAVA_OPTIONS: -Xmx256m -Xms256m
2013-01-04 14:10:05 [INFO] [ForgeModLoader] Forge Mod Loader version 4.6.17.515
for Minecraft 1.4.6 loading
2013-01-04 14:10:06 [INFO] [ForgeModLoader] Found valid fingerprint for Minecraf
t Forge. Certificate fingerprint de4cf8a3f3bc15635810044c39240bf96804ea7d
2013-01-04 14:10:07 [INFO] [STDOUT] 27 achievements
2013-01-04 14:10:07 [INFO] [STDOUT] 210 recipes
2013-01-04 14:10:07 [INFO] [STDOUT] Setting user: player, -
2013-01-04 14:10:07 [INFO] [STDERR] Client asked for parameter: server
2013-01-04 14:10:07 [INFO] [STDOUT] LWJGL Version: 2.4.2
2013-01-04 14:10:08 [INFO] [ForgeModLoader] Attempting early MinecraftForge init
ialization
2013-01-04 14:10:08 [INFO] [STDOUT] MinecraftForge v6.5.0.488 Initialized
2013-01-04 14:10:08 [INFO] [ForgeModLoader] MinecraftForge v6.5.0.488 Initialize
d
2013-01-04 14:10:09 [INFO] [STDOUT] Replaced 84 ore recipies
2013-01-04 14:10:09 [INFO] [ForgeModLoader] Completed early MinecraftForge initi
alization
2013-01-04 14:10:09 [INFO] [ForgeModLoader] Searching C:\Users\Jonnyboy\AppData\
Roaming\.minecraft\mods for mods
2013-01-04 14:10:09 [INFO] [ForgeModLoader] Forge Mod Loader has identified 7 mo
ds to load
2013-01-04 14:10:09 [INFO] [ForgeModLoader] FML has found a non-mod file X-RayMo
d_v034.zip in your mods directory. It will now be injected into your classpath.
This could severe stability issues, it should be removed if possible.
2013-01-04 14:10:10 [INFO] [ForgeModLoader] Configured a dormant chunk cache siz
e of 0
2013-01-04 14:10:10 [INFO] [STDOUT] [SAP_ConfManII] Creating ClaySoldiersMod con
fig file!
2013-01-04 14:10:10 [INFO] [STDOUT] [SAP_ConfManII] ClaySoldiersMod config file
successfully created!
2013-01-04 14:10:10 [INFO] [STDOUT] Starting up SoundSystem...
2013-01-04 14:10:10 [INFO] [STDOUT] Initializing LWJGL OpenAL
2013-01-04 14:10:10 [INFO] [STDOUT] (The LWJGL binding of OpenAL. For more
information, see http://www.lwjgl.org)
2013-01-04 14:10:11 [INFO] [STDOUT] OpenAL initialized.
2013-01-04 14:10:11 [WARNING] [ForgeModLoader] The mod Steamship tried to regist
er the entity class class net.xeology.Steamship.EntityAirship which was already
registered - if you wish to override default naming for FML mod entities, regist
er it here first
2013-01-04 14:10:11 [INFO] [ForgeModLoader] Forge Mod Loader has successfully lo
aded 7 mods
I just noticed it says I have a 32bit windows, but that is obviously wrong.
I would suggest using 64 bit Java and updating it to Java 7 update 10 as you have a 64 bit system. That was probably a remnant of the old 32 bit java you have installed. Did you uninstall 32 bit Java?
I would suggest using 64 bit Java and updating it to Java 7 update 10 as you have a 64 bit system. That was probably a remnant of the old 32 bit java you have installed. Did you uninstall 32 bit Java?
I did update my java, but I heard that if I have a 64bit windows I need to have both 32 and 64bit java..
Unless any website you normally visit have full java apps in them, like playing minecraft in your browser, you don't need java.
javascript (used by nearly every website) and such still work regardless of if you even have Java installed at all.
I'd recommend removing the 32 bit java. If you do find some website that you need it for, you can always reinstall it.
cestislife, covered it. You need to get minecraft running on 64 bit java. 32 bit will only allow you to allocate upto 1.5Gb.
The other thing I noticed, your system has 8Gb of memory, yet less then 2Gb was free when you ran the script. So something else was really sucking up memory, you would still have run into Out of Memory errors if you gave minecraft 2Gb of ram.
You should figure out what is using up most of your memory.
but 1gb keeps crashing because my map is too big for that and the game need more heap size, I would say I've tried anything but I did not because I dont know where to even begin, I am now using "java -Xmx1024M -Xms1024M -jar Minecraft.exe"
but it is not enough, and when I try to increase it even a little bit (500m, something like that) it pop that error message.
what can I do to bypass that error without decreasing my heap size??
-
View User Profile
-
View Posts
-
Send Message
Retired StaffDo you have 64 bit java if your OS is 64 bit?
How much memory does your system have?
and yes I have a 64bit java. I had before a 32bit java but now I have changed it to 64bit and it still wont work..
and I have 8gb RAM
-
View User Profile
-
View Posts
-
Send Message
Retired StaffPost the results back in this thread.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffI just noticed it says I have a 32bit windows, but that is obviously wrong.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffI would suggest using 64 bit Java and updating it to Java 7 update 10 as you have a 64 bit system. That was probably a remnant of the old 32 bit java you have installed. Did you uninstall 32 bit Java?
I did update my java, but I heard that if I have a 64bit windows I need to have both 32 and 64bit java..
-
View User Profile
-
View Posts
-
Send Message
Retired Staffjavascript (used by nearly every website) and such still work regardless of if you even have Java installed at all.
I'd recommend removing the 32 bit java. If you do find some website that you need it for, you can always reinstall it.
cestislife, covered it. You need to get minecraft running on 64 bit java. 32 bit will only allow you to allocate upto 1.5Gb.
The other thing I noticed, your system has 8Gb of memory, yet less then 2Gb was free when you ran the script. So something else was really sucking up memory, you would still have run into Out of Memory errors if you gave minecraft 2Gb of ram.
You should figure out what is using up most of your memory.