Okay, so I got a laptop for college and (of course) wanted to get minecraft on it. Well, there seemed to be a problem with the allocation of memory for the game (I'm guessing because it was on a laptop, but really i.d.k.). So, if you have tried (like I did) doing a batch file for Minecraft or/and tried changing the java parameters, then try this. It's a combination of both!
First, make sure you are running a 32- or 64-bit operating system
(If you're having my problem, then I'm guessing it is a 64-bit)
To find what your operating system is go to...
>Start
>In the search type, "dxdiag" (no quotations)
>In the list of information, look for Operating System and it should have it listed
Now if it is a 64-bit then the problem is that you only have Java installed as a 32-bit operating system (it downloads 32-bit for you because it probably detected you were using a 32-bit browser)
Next, go to Java.com
>Click the big red "Free Download" button
>On the left-hand side there should be a "All Java Downloads" link, click it.
>Go to the download link that says "Windows Offline (64-bit)" and, again, click on it (simple right)
>Wait for it to download, yada yada, and, tada, its there.
Now...
>Click Start
>Control Panel
>Java (If you cannot see it then switch the "View by:" drop down to large or small icons from category)
>In the Java Control Panel (What pops up), click the Java tab.
>Select "View..."
>In "Runtime parameters" enter "-Xmx1024m" (Without the quotations).
(The "1024" part is the amount of memory you want to give it, 1gb of ram should suffice)
Finally...
>Open a new text document
>Paste the following:
javaw -Xmx2048m -Xms1024m -jar "C:\Users\YOUR USERNAME\Desktop\Minecraft.exe"
*Note: location of the executable Minecraft file may differ depending on where you put it. Find it, and...
>Right click on it
>Properties
>Location (copy and paste this location and put it between the quotation marks where I have my location and do not forget to place a \Minecraft.exe at the end)
Now back to the text document
>Paste new, personalized data
>File
>Save As...
*Note: It is vital that it is Save As...
>Name the file with a .bat at the end
>Save file to Desktop for easy access
After all of this is done, you should be able to open up the batch file (the one you just saved) and it SHOULD open minecraft. Login, play the game to your heart's content and CHEERS!
*Note: To make sure this ACTUALLY works click F3 (or CTR + F3 if it's your brightness setting like mine) and look in the upper-right corner, the value after "Memory Allocated:" should be higher.
Remember this is just a combination of everything. I got sick of looking around for every possible solution, so I decided to post sort of a "Master Key" to this whole data allocation problem. Hope it works, thanks for your support.
First, make sure you are running a 32- or 64-bit operating system
(If you're having my problem, then I'm guessing it is a 64-bit)
To find what your operating system is go to...
>Start
>In the search type, "dxdiag" (no quotations)
>In the list of information, look for Operating System and it should have it listed
Now if it is a 64-bit then the problem is that you only have Java installed as a 32-bit operating system (it downloads 32-bit for you because it probably detected you were using a 32-bit browser)
Next, go to Java.com
>Click the big red "Free Download" button
>On the left-hand side there should be a "All Java Downloads" link, click it.
>Go to the download link that says "Windows Offline (64-bit)" and, again, click on it (simple right)
>Wait for it to download, yada yada, and, tada, its there.
Now...
>Click Start
>Control Panel
>Java (If you cannot see it then switch the "View by:" drop down to large or small icons from category)
>In the Java Control Panel (What pops up), click the Java tab.
>Select "View..."
>In "Runtime parameters" enter "-Xmx1024m" (Without the quotations).
(The "1024" part is the amount of memory you want to give it, 1gb of ram should suffice)
Finally...
>Open a new text document
>Paste the following:
javaw -Xmx2048m -Xms1024m -jar "C:\Users\YOUR USERNAME\Desktop\Minecraft.exe"
*Note: location of the executable Minecraft file may differ depending on where you put it. Find it, and...
>Right click on it
>Properties
>Location (copy and paste this location and put it between the quotation marks where I have my location and do not forget to place a \Minecraft.exe at the end)
Now back to the text document
>Paste new, personalized data
>File
>Save As...
*Note: It is vital that it is Save As...
>Name the file with a .bat at the end
>Save file to Desktop for easy access
After all of this is done, you should be able to open up the batch file (the one you just saved) and it SHOULD open minecraft. Login, play the game to your heart's content and CHEERS!
*Note: To make sure this ACTUALLY works click F3 (or CTR + F3 if it's your brightness setting like mine) and look in the upper-right corner, the value after "Memory Allocated:" should be higher.
Remember this is just a combination of everything. I got sick of looking around for every possible solution, so I decided to post sort of a "Master Key" to this whole data allocation problem. Hope it works, thanks for your support.
-
View User Profile
-
View Posts
-
Send Message
Retired Staff-
View User Profile
-
View Posts
-
Send Message
Retired Staffdon't repost it, it's fine.