1583 posts
Location
Germany
Posted 25 June 2013 - 10:47 AM
Hi folks,
Yea this isn't CC. I know.
My question:
How can I delete the java flag "-Xmx1024M" and add "-Xmx3072M"?
I've tried many ways, but nothing works.
197 posts
Location
Finland
Posted 25 June 2013 - 10:47 AM
Hi folks,
Yea this isn't CC. I know.
My question:
How can I delete the java flag "-Xmx1024M" and add "-Xmx3072M"?
I've tried many ways, but nothing works.
.bat file with
javaw -Xmx3072m -Xms1024m -jar "location\Minecraft.exe"
94 posts
Location
Computational Soup of the Cloud
Posted 25 June 2013 - 10:52 AM
If you download the new launcher, it gives you the option to set your own -Xmx parameters. You just click the edit profile button, check the box beside Java Parameters and it'll let you modify it.
Hi folks,
Yea this isn't CC. I know.
My question:
How can I delete the java flag "-Xmx1024M" and add "-Xmx3072M"?
I've tried many ways, but nothing works.
.bat file with
javaw -Xmx3072m -Xms1024m -jar "location\Minecraft.exe"
I'm pretty sure he's talking about in the new launcher since it says:
…
How can I delete the java flag "-Xmx1024M" and add "-Xmx3072M"?
…
With the new launcher, you no longer have to manually create a .bat file to set your max mem/min mem.
3790 posts
Location
Lincoln, Nebraska
Posted 25 June 2013 - 11:12 AM
Or, you can use MultiMC to use the built in features to let you edit it AND have multiple instances with backwards compatibility…
94 posts
Location
Computational Soup of the Cloud
Posted 25 June 2013 - 11:19 AM
Multiple instances with backwards compatibility? You can create multiple profiles with the new launcher and, last I knew, Mojang was intending to release older versions and custom install directories per profile on the new launcher, so I'm not sure exactly what you mean with backwards compatibility… >.>
1583 posts
Location
Germany
Posted 25 June 2013 - 11:26 AM
Now I get a error
Error: could not crwate the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
^what the hell is this?^
1243 posts
Location
Indiana, United States
Posted 25 June 2013 - 11:28 AM
What does it look like? Java broke. Get used to it.
You probably didn't have enough RAM.
94 posts
Location
Computational Soup of the Cloud
Posted 25 June 2013 - 11:30 AM
Now I get a error
Error: could not crwate the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
^what the hell is this?^
Did it give anymore information? Also, how much RAM does your system actually have?
4 posts
Posted 25 June 2013 - 11:35 AM
What does it look like? Java broke. Get used to it.
You probably didn't have enough RAM.
Its because kids these days no nothing of Memory Budgeting.
1583 posts
Location
Germany
Posted 25 June 2013 - 11:38 AM
I don't think I haven't enough RAM.
I have 4 GB DDR3 RAM.
4 posts
Posted 25 June 2013 - 11:43 AM
I don't think I haven't enough RAM.
I have 4 GB DDR3 RAM.
Yes but your system requires some of that RAM too.
Java won't let itself take too much RAM because it will compromise the system supporting it.
If you're running Windows 7 you'll need atleast 2 Gigs for Windows and all its children processes, not to mention other things like web browsers, irc, instant messengers, etc.
Thats why they suggets Minecraft be run at 1-1.5 Gigs.
94 posts
Location
Computational Soup of the Cloud
Posted 25 June 2013 - 11:43 AM
I don't think I haven't enough RAM.
I have 4 GB DDR3 RAM.
Try setting it to 2048M. 2GB of RAM should be more than enough for Minecraft.
I don't think I haven't enough RAM.
I have 4 GB DDR3 RAM.
Yes but your system requires some of that RAM too.
Java won't let itself take too much RAM because it will compromise the system supporting it.
I really doubt that only 4GB of RAM is the real cause if he has swap turned on. Unless he's on an old (pre-XP I do believe) version of Windows, the kernel supports virtual memory so, as long as a swap file is present and enabled, it'll drop things to it. I might be wrong, but I don't think Java really cares if it gets thrown into the swap file/can even tell if it gets thrown into the swap file.
1583 posts
Location
Germany
Posted 25 June 2013 - 11:52 AM
Yea, I'm using Win7.
OK, I'm trying 2Gb
4 posts
Posted 25 June 2013 - 11:52 AM
I really doubt that only 4GB of RAM is the real cause if he has swap turned on. Unless he's on an old (pre-XP I do believe) version of Windows, the kernel supports virtual memory so, as long as a swap file is present and enabled, it'll drop things to it. I might be wrong, but I don't think Java really cares if it gets thrown into the swap file/can even tell if it gets thrown into the swap file.
True but anything that runs from swap generally runs slower and if Java dumps MC in to swap in large chunks it will also have to reference it in large chunks. Lets face it, Minecraft is nothing but large everchanging data, swap hates that.
94 posts
Location
Computational Soup of the Cloud
Posted 25 June 2013 - 11:57 AM
I really doubt that only 4GB of RAM is the real cause if he has swap turned on. Unless he's on an old (pre-XP I do believe) version of Windows, the kernel supports virtual memory so, as long as a swap file is present and enabled, it'll drop things to it. I might be wrong, but I don't think Java really cares if it gets thrown into the swap file/can even tell if it gets thrown into the swap file.
True but anything that runs from swap generally runs slower and if Java dumps MC in to swap in large chunks it will also have to reference it in large chunks. Lets face it, Minecraft is nothing but large everchanging data, swap hates that.
Virtual memory tries to dump currently unused information to the swap file first, if I remember right, so chances of Minecraft, which would currently have it's information used, wwould likely get to stay in the RAM. Of course, anything being dumped to swap will cause the system to go slower simply because there's extra read/write usage on the harddrive at that time, taking away harddrive usage from Minecraft/the OS. That's why some people (myself included) have drives dedicated to swap just in case.