Re: Gio & memory management



Hi Enrico,

Thank you for your answer...
I'll try to read more about GError (in fact, i wrote first a program with GLibmm, and then rewrote the program in GLib to test whether the memory usage would be the same in pure C, but that's my first program with GLib without the C++ binding).

Unfortunately, I did not receive your patch... even in your second message... I guess the mailing daemon blocked it.
May be you could send it directly to my email address...

About the memory, usage It's not possible to explain by the fact that the function is recursive... cause the memory usage only grow up and never decrease (I need more that 500 MB to list /usr/ and the max depth is only 12... so at this moment I have 12 GFileEnumarator structures in memory... )

I made some graph, that shows the evolution of the memory usage during the execution of the program... I would like to show them.. As a comparison the php program use less than 1 BM and the memory usage is stable with the time (it grow up when the depth increase, and go down when the depth decrease...)...

So I guess, there is a problem with the memory managment in my program or in the GLib...

Thanks,
Nicolas



Enrico Tröger wrote:
On Sat, 11 Oct 2008 17:36:00 +0200, Enrico Tröger
<enrico troeger uvena de> wrote:

And the patch missing in the last mail, sorry.


Regards,
Enrico

------------------------------------------------------------------------

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]