Difference between revisions of "Talk:Robocode/Mac OS X"

From Robowiki
Jump to navigation Jump to search
m (Talk:Robocode on Mac OS X moved to Talk:Robocode/Mac OS X: anything related to the Robocode application should be subpages of Robocode)
(heap size)
Line 1: Line 1:
 
The .bat files and .sh files are meant to start it up for you...  I'm pretty sure you can get it to work without moving anything around.  Try renaming the robocode.sh file to robocode.command.  ".command" files are files that OS X recognizes as a double-clickable script.  Then you can double click robocode.command, and it will run robocode for you.  Let me know if that doesn't work... --[[User:BenHorner|BenHorner]] 00:00, 11 May 2009 (UTC)
 
The .bat files and .sh files are meant to start it up for you...  I'm pretty sure you can get it to work without moving anything around.  Try renaming the robocode.sh file to robocode.command.  ".command" files are files that OS X recognizes as a double-clickable script.  Then you can double click robocode.command, and it will run robocode for you.  Let me know if that doesn't work... --[[User:BenHorner|BenHorner]] 00:00, 11 May 2009 (UTC)
 +
 +
If you run from Robocode.jar directly, let me warn you. Tde default java heap size is '''128MB''', which is '''too''' low. The default robocode bat/sh file set it to '''512MB'''. The default heap size will surely give you OutOfMemoryError if you run a melee battle with Shadow,Tron,Aleph,SandboxDT,Logic,Phoenix,... They may fail even if you run just Shadow vs. SandboxDT, but I'm not sure. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:39, 11 May 2009 (UTC)

Revision as of 02:39, 11 May 2009

The .bat files and .sh files are meant to start it up for you... I'm pretty sure you can get it to work without moving anything around. Try renaming the robocode.sh file to robocode.command. ".command" files are files that OS X recognizes as a double-clickable script. Then you can double click robocode.command, and it will run robocode for you. Let me know if that doesn't work... --BenHorner 00:00, 11 May 2009 (UTC)

If you run from Robocode.jar directly, let me warn you. Tde default java heap size is 128MB, which is too low. The default robocode bat/sh file set it to 512MB. The default heap size will surely give you OutOfMemoryError if you run a melee battle with Shadow,Tron,Aleph,SandboxDT,Logic,Phoenix,... They may fail even if you run just Shadow vs. SandboxDT, but I'm not sure. » Nat | Talk » 01:39, 11 May 2009 (UTC)