ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.37k stars 529 forks source link

Crash with big md3 files #471

Open Pan7 opened 3 years ago

Pan7 commented 3 years ago

The ioquake3 client is crashing with the error:

Z_Malloc: failed on allocation of 26203960 bytes from the main zone: code/client/cl_main.c, line: 3189 (size)

when using the custom player model Bloodseeker (q3mdl-bloodseeker.zip at https://ws.q3df.org/model/bloodseeker/)

ensiform commented 3 years ago

Set com_zoneMegs higher in launch parameters. Can't be set in config or console and this behavior can't change because zone memory must be setup before config or console is loaded.

ellisgl commented 3 years ago

What's the default set in source? Why not up this?

ensiform commented 3 years ago

24 megs. Probably needs to be upped because of OpenGL2 renderer being default.