[SDL] [SPAM] Re: [SPAM] Re: Memory Leak

Pankaj panky_13210 at yahoo.com
Thu Apr 26 09:27:27 PDT 2007


Hi,

 We have an application that runs on windows but it runs forever so it never comes out or exits , i think due to this reason the OS does not get a chance to clean memory. 

Basically ,if i know the module which is leaking then may be it can be recoded. I am just curious to know if anybody gets such a problem then what would be the typical respose and the way to debug it. 

I am using both FFPLAY and SDL libraries . 

Mostly we are allocating the memory for managing of packets which we are deallocating in the same function so even in the application i am not able to find anything fishy. I think i have to track all the mallocs and demallocs which seems to be my only option to get the memory leaks . 


thanks,
Pankaj


----- Original Message ----
From: Gabriele Greco <gabriele.greco at darts.it>
To: A list for developers using the SDL library. (includes SDL-announce) <sdl at lists.libsdl.org>
Sent: Thursday, 26 April, 2007 10:44:04 AM
Subject: Re: [SDL] [SPAM] Re: [SPAM] Re: Memory Leak


Pankaj wrote:
> I am sure about them as memory leaks because if i run the application again and again then i am able notice with task manager that the memory application is usinng increases by 1 MB and i never get it back . When we run the same application again and again in the real device then also it dries down due to lack of memory. 
>   
What OS is your target? Most modern OSes free ALL the application 
memory, handles, windows, resources, locks when the application exits.

-- 
Bye,
Gabry



_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


      Add online presence to your web pages, find out how here - http://messenger.yahoo.com/addpresence.php



More information about the SDL mailing list