A user on the IRC channel #minecrafthelp reported that vanilla minecraft.exe 1.0.0 reported "GL_ERROR 1285: Out of memory" on a machine with these specs:
Vista Ultimate 32 bit
3582MB of memory
Nvidia 8800
java version "1.6.0_26"
Java SE Runtime Environment (build 1.6.0_26-b03)
The user's Minecraft was crashing with the 1285 error repeatedly with all video options at minimum: render distance Tiny, not full screen, and it would crash within seconds of doing anything.
There was no hs_err_pid error log from java, the 1285 error message only appeared on the output stream (1) and nothing appeared on the error stream (2).
First, I got the user to tick the Show applet lifecycle exceptions (click Start Control Panel, click Java icon, click Advanced tab, click the + next to Debugging, force the Show applet lifecycle exceptions to have a tick mark). Enable tracing and Enable logging were left unticked; this was to make his settings similar to mine on my Vista.
I was about to instruct the user to download the minecraft.jar, when he tried something that mysteriously fixed the problem: he simply renamed the minecraft.exe to minecraft.jar - and this worked. No GL_ERROR from then on. To clarify, his file minecraft.jar was now *not* the .jar from the Linux section from minecraft.net/download, it *was* still the minecraft.exe, just renamed.
I can only speculate that Windows and java somehow conspire to run a file with different resources depending on how its filename ends.
I then spent a few hours trying to reproduce the 1285 GL_ERROR on my inferior HP Pavillion machine with the vanilla 1.0.0 exe. Although the FPS dipped to 4 at times and memory was almost maxxed out at 95% no crashes occured. I tried single player and multiplayer.
Minecraft settings: all maxxed out: Fancy, Far, Smooth=ON, Particles All, etc, but Music off.
Batch command file:
set APPDATA=%cd%
java -cp minecraft.exe net.minecraft.LauncherFrame
pause
CPU AMD Athlon 64X2 Dual 5000+ (2614)
GPU nVidia GeForce 6500
OpenGL: GeForce 6500/PCI/SSE2/3DNOW! version 2.1.2, NVIDIA Corporation
RAM 3 GB DDR2 DIMMS: 2 of PC2-5300 (667 MHz) + 1 of PC-6400 800 MHz
OS Windows Vista Home Premium
java version "1.6.0_26"
Aero disabled.
Other applications running (normally I have no others but I wanted to stress test this): Opera browser with YouTube video at 720p open and 10 other tabs.
Minecraft benchmark debug: Fancy normal Advanced OpenGL ON : 16 FPS; OptiFog : 25 FPS
Vista Home Premium 32bit (6.0, Build 6002) SP 2; AMD Athlon 64X2Dual 5000+ 2.6GHz; 3070MB RAM; nVidia GeForce 6500; Java SE RT build 1.6.0_26-b03; VM (build 20.1-b02, mixed mode, sharing)