Page 1 of 1

z_malloc or not z_malloc

Posted: Tue Feb 03, 2015 4:37 pm
by FDN
Hello people, i made a map using blender 2.7 (this map is optimized to play urban terror). I tried to play this on Q3 (version 1.32) and.. :mad: ...booom: z_malloc problem appear. I also tried my pk3 on openarena and all work fine; i don't understand why on Q3 and team arena my map won't work, there is a solution to resolve my trouble? :o

Compiler: q3map2 2.5.16
SDK: gtkradiant 1.5
only [BSP] stage used ( no [VIS] and [LIGHT] stages used, lightmap textures made from scratch using baking texture technique)
all models are .ASE file

here a video on openarena:

http://www.youtube.com/watch?v=pv4w0AfS3sU

Re: z_malloc or not z_malloc

Posted: Tue Feb 03, 2015 5:17 pm
by cityy
Try raising com_hunkmegs. It sets the amount of RAM Q3 may use.

Re: z_malloc or not z_malloc

Posted: Tue Feb 03, 2015 5:38 pm
by FDN
i tried "1024" value but the problem persist :(

Re: z_malloc or not z_malloc

Posted: Wed Feb 04, 2015 1:21 am
by Bacon
Try running a dedicated server with the hunkmegs set on it, instead of just through the console. I had to do that with a couple of my maps.

Re: z_malloc or not z_malloc

Posted: Wed Feb 04, 2015 3:08 am
by mrd
I don't think com_hunkmegs can be changed in game. The VM allocates memory on start up I believe. Set it in the .cfg that loads with the game (likely config.cfg in \quake3\baseq3), or do it on a dedicated server as mentioned.

I think there is also a hard coded limit to com_hunkmegs, but I may be mistaken and I'm not even sure what it would be.