Author Topic: Sound file: Size Limit?  (Read 4528 times)

whitebear

  • Posts: 659
  • Turrets: +35/-20
Sound file: Size Limit?
« 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?

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Sound file: Size Limit?
« Reply #1 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?

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Sound file: Size Limit?
« Reply #2 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.

Archangel

  • Guest
Re: Sound file: Size Limit?
« Reply #3 on: April 26, 2009, 09:03:45 pm »
decompress a wav ?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Sound file: Size Limit?
« Reply #4 on: April 26, 2009, 11:12:50 pm »
Who is gonna download a freaking gigabyte huge map?

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Sound file: Size Limit?
« Reply #5 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).