Maybe some of you know that Minecraft has a Memory issue when you start it from the exe File, it only reserves about 1 GB, which is way to few and it keeps crashing after 10-15 Minutes or so playing.
If you want to give Minecraft more memory, you have to start java yourself like this:
java -Xmx3072M -Xms3072M -jar minecraft.exe
This will start Minecraft with 3GB RAM. For easy use, i put this in a batchfile in my Minecraft folder, and it runs just fine if i run it from the directory or from a link in my shortcutbar. But when i put a link to this Batchfile in ObjectDock, i get this error:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I'm running Win7 x64, ObjectDock 1.90.
Edit: Just updated to Version 2 from the Stardock Website: Still the same Problem!