This is mostly true...
Or at least this is the way we'd like it to work :)
Right now the only structure that is marked as unused and stored like Shane describes 
is the gropnode. The unused but not dead gropnodes are marked 'zombies' and you can 
see the number of zombie gropnodes allocated on the CTRL-ALT-M memory info screen.

I don't have time to look at the example at the moment, as i'm really busy this week, 
but i'll try to get to this and the other email in my box this weekend. I just thought 
i'd throw in this little tidbit of information.

--Micah

On Thu, Mar 14, 2002 at 04:25:55PM -0800, Shane Nay wrote:
> I haven't tinkered with this in a while, but my memory says that the 
> pgDelete only marks something as not used, it doesn't actually free 
> the memory.  PicoGUI basically has it's own memory manager of sorts.  
> You see..., constantly freeing and mallocing memory chunks is not 
> very efficient, so instead holding a reserve of structures is better 
> performance wise.
> 
> On Thursday 14 March 2002 09:13, Ibrahim Niyazi Ulgur wrote:
> >     Hi guys !
> >
> >     I think, there are some bad news...
> >
> >     There is obviously a memory leak problem with BITMAPs or bitmap
> > handlers. I have sended this message with an attachment. In the
> > attachment you can see how a simple part of code gets some memory
> > from Linux and will not give it back. I used last version of server
> > and the program code is from your applicatons. ( menutest.c)  But
> > to be clear I truncated some of your code and I put my code into
> > btnDialog function. You will see my Comments into the code, All are
> > self explanatory.
> >
> >     Thanks for your labour...
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel

-- 
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to