[Gambas-user] Memory

Fabien Bodard gambas.fr at ...626...
Sun Feb 26 21:19:57 CET 2012


Le 26 février 2012 21:14, Benoît Minisini
<gambas at ...1...> a écrit :
> Le 26/02/2012 15:24, Fabien Bodard a écrit :
>> Why in these example the memory seem to be not freed ?
>>
>
> I have looked that for two hours, and my conclusion is that Gambas frees
> the memory by telling the glibc to do so, but the glibc actually does
> not free it!
>
> So the leak does not come from Gambas. It comes from the glibc that does
> not give the memory back to the system even if Gambas has explicitely
> freed it!
>
> For example, with this project, when the message "Can you see?" appears,
> Gambas has freed everything except 1Mb of memory (I have counted). The
> KDE task manager says that the program takes 131Mb of memory!
>
> Could it be a fragmentation problem? I don't know how the glibc malloc()
> works behind the scene. I will "google the program", but if anybody has
> any clue...
thank you for taking a look :)
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list