> Perhaps a dumb question, but are you doing the memory management
> implied by the description? I.e., either managing your own storage
> if you provide it, or deleting the allocated memory (using delete[],
> not delete) if you don't.


Yes, I am using my own memory allocation with 'new char[]' and delete [] but I 
have more information.
I also use mallinfo() and I added mtrace() function to see what is going on.
For debugging, I only use FLTK and Fl_Help_View calls and mtrace reports many 
'memory not freed' errors.
mallinfo reports most of the memory allocated in mmap which grows very quickly 
and the heap grows also but much slower and the system memory decreases by 
their total amount.
Everything adds up correctly.
Tomorrow, I will decipher the mtrace output and report what I find.
There is something wrong with my mtrace.pl script and it does not output the 
information clearly.

Martin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to