Re: [hlcoders] Engine Memory Leak

2009-07-23 Thread Arne Sikstrom
an out of memory error by playing the same mp3 again and again? Just curious if maybe it's being cached. Date: Sun, 12 Jul 2009 13:25:19 +0200 From: arne.sikst...@gmail.com To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Engine Memory Leak How bad is it? How much memory

Re: [hlcoders] Engine Memory Leak

2009-07-23 Thread Jay Stelly
Programming Subject: Re: [hlcoders] Engine Memory Leak I can confirm this for our OB based mod. The MP3 leaks memory but the WAV does not. This is really bad, our sound guy is not very happy to use WAV for everything. Do we have an official bug report for this? On Sun, Jul 12, 2009 at 5:52 PM

Re: [hlcoders] Engine Memory Leak

2009-07-12 Thread Arne Sikstrom
How bad is it? How much memory is lost for each call? We are chasing memory leaks in our mod at the moment and are playing mp3 sounds file at level changes. On Mon, Jul 6, 2009 at 12:19 AM, Justin Krenz kre...@gmail.com wrote: I just discovered the source of a memory leak in my mod, Smashball.

Re: [hlcoders] Engine Memory Leak

2009-07-12 Thread Brent Lewis
Have you produced an out of memory error by playing the same mp3 again and again? Just curious if maybe it's being cached. Date: Sun, 12 Jul 2009 13:25:19 +0200 From: arne.sikst...@gmail.com To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Engine Memory Leak How bad is it? How

Re: [hlcoders] Engine Memory Leak

2009-07-12 Thread Justin Krenz
produced an out of memory error by playing the same mp3 again and again? Just curious if maybe it's being cached. Date: Sun, 12 Jul 2009 13:25:19 +0200 From: arne.sikst...@gmail.com To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Engine Memory Leak How bad is it? How much memory

[hlcoders] Engine Memory Leak

2009-07-05 Thread Justin Krenz
I just discovered the source of a memory leak in my mod, Smashball. It appears that if you call EmitSound using an MP3 sound file, memory is allocated and never returned. Specifically, enginesound-EmitSound(...) ( /game/shared/SoundEmitterSystem.cpp line 460 ) is the function that allocates the