Tremulous Forum

Media => Mapping Center => Topic started by: whitebear on April 26, 2009, 01:16:09 pm

Title: Sound file: Size Limit?
Post by: whitebear on April 26, 2009, 01:16:09 pm
I encountered problem that tremulous gives me following error when loading map:
Code: [Select]
*snips*
...shutting down QGL
...unloading OpenGL DLL
-----------------------
----- Server Shutdown (Server fatal crashed: Z_Malloc: failed on allocation of 522427400 bytes from the main zone) -----
==== ShutdownGame ====
---------------------------
Z_Malloc: failed on allocation of 522427400 bytes from the main zone
Reason might be that I have 498mb wav file on one target_speaker.
Is there size limit? Would Splitting the sound file in portions help?
Title: Re: Sound file: Size Limit?
Post by: UniqPhoeniX on April 26, 2009, 02:11:15 pm
Yes 522425400 bytes is 498 MB, so that is the reason... wait WHAT?
FOUR HUNDRED AND NINETY EIGHT MEGA BYTES?
Title: Re: Sound file: Size Limit?
Post by: gimhael on April 26, 2009, 07:44:15 pm
Is there size limit? Would Splitting the sound file in portions help?

All sound files are loaded into memory and decompressed at the start. You can split the file or compress it, will still require half a gig of memory.
Title: Re: Sound file: Size Limit?
Post by: Archangel on April 26, 2009, 09:03:45 pm
decompress a wav ?
Title: Re: Sound file: Size Limit?
Post by: Bissig on April 26, 2009, 11:12:50 pm
Who is gonna download a freaking gigabyte huge map?
Title: Re: Sound file: Size Limit?
Post by: Odin on April 27, 2009, 12:03:49 am
Who is gonna download a freaking gigabyte huge map?
WAV compresses incredibly well inside a ZIP archive with a compression level of 9(best).