OpenArena
Edit Page
FAQ
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 502: Line 502:
   
 
===I got Z_Malloc error===
 
===I got Z_Malloc error===
If you experiece <tt>Z_Malloc: failed on allocation of X bytes from the main zone</tt> error, try using an higher "z_zoneMegs" value (default is 24, as OA 0.8.x) to allocate more RAM to the game. It's a particular cvar, as changing its value from within the game has no effect (the new value results just "latched" forever, even after closing and reopening the game). So you have to start the game with "+set com_zoneMegs <value>" from your OS command line (example: <tt>openarena.exe +set com_zoneMegs 256</tt>) each time. You can of course create a shortcut/bat file/shell script for that.<br />
+
If you experiece <tt>Z_Malloc: failed on allocation of X bytes from the main zone</tt> error, try using an higher "z_zoneMegs" value (defult is 24) to allocate more RAM to the game. It's a particular cvar, as changing its value from within the game has no effect (the new value results just "latched" forever, even after closing and reopening the game). So you have to start the game with "+set com_zoneMegs <value>" from your OS command line (example: <tt>openarena.exe +set com_zoneMegs 256</tt>) each time. You can of course create a shortcut/bat file/shell script for that.
If you set it to a value too large, the game may not start, reporting "Zone data failed to allocate X megs.".
 
 
Note: other settings which involve allocating memory for the game are <tt>com_hunkMegs</tt> (default 128, as OA 0.8.x) and <tt>com_soundMegs</tt> (default 8). Tweaking also such values ''might'' provide some better perfomances or fix some other memory-related errors. While it looks like com_soundMegs can be changed on-the-fly, com_hunkMegs needs to close and start the game again to be effective (or to be passed as an OS command-line parameter). If you set com_hunkMegs to a value too large, the game may not start, reporting "Hunk data failed to allocate X megs."
 
   
 
===Unable to start the game under OSX===
 
===Unable to start the game under OSX===
Please note that all contributions to the OpenArena are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)

Templates used on this page: