Noticing that it was tedious to determine how much memory I wanted to use for Minecraft and entering the appropriate command at the command line every time I wanted to launch Minecraft, as well as feeling that existing launchers with a RAM allocation feature seemed a bit involved for such a simple purpose as this, I decided to develop an application that would allow me to perform this process with minimal user input.
NOTE September 28, 2012:
Development here has effectively ground to a halt; as such, I've released the utility under the GPL. If anyone has ideas as to the cause of the problem, or can provide me detailed information about their computer, please let me know, either by replying to this thread or emailing me from my website.
As I said, this has worked fine for me in all of the testcases I've had a chance to put together, so if the utility is something in which you'd be interested, it's still definitely worth a try to use it on your system.
My primary system, on which this works perfectly and consistently, is a Core i5 build with 8GB RAM, Minecraft 1.3.2, 64-bit Windows 7, Java 7, and .NET Framework 6 (or whatever the one that was released in 2008 was). I have tried this on a Core i7 8GB laptop with roughly the same software, and it worked there as well. However, I haven't had a chance to try and get this running on any VMs or other PCs, so I am working with a very limited sample set.
Just in case I do get a chance to put some more time into this, again, please send me any information you can about your computer, your setup, and whether or not this works. Positive samples are still samples nonetheless.
VB.NET 2008 source here.
NOTE August 22, 2012:
The interface is pretty intuitive, and I don't think it requires too much explanation here.
This has been tested on 64-bit Windows 7 with Minecraft 1.2.5 and 1.3.2. Further testing is planned.
Command-line options (added in v1.0) and shortcuts (fixed in v1.2):
A shortcut can be created on the desktop (this can be renamed or moved without breaking anything) to launch Minecraft with a certain amount of RAM.
For example, you can create a shortcut to launch Minecraft with 1GB of RAM.
The command-line switches are:
- /rfnnn - start Minecraft with nnn bytes of RAM (1 MiB = 1048576 bytes)
- /dnnn - launch the launcher, emulating nnn free bytes of RAM (for debugging purposes)
Should be compatible with Windows XP and above.
Extract the executable from the ZIP file, and place it in the same folder as your minecraft.exe.
Alternatively, place it in whatever folder you like, and place minecraft.exe in the root of your C: drive.
Rename it to whatever you like.
Renaming or moving the executable will break any shortcuts you have created with it.
Download: PLEASE READ NOTE ABOVE (September 28)
All versions can be downloaded from TortoiseWrath.com.
The most recent version is at the top.
Plans for future releases:
Screenshots of v1.x:
Screenshots of v0.1: