Re: [Vala] array memory leak?
- From: Ulink <ulink gmx at>
- To: Vala Mailing <vala-list gnome org>
- Subject: Re: [Vala] array memory leak?
- Date: Thu, 06 Mar 2014 09:59:54 +0100
Am 06.03.2014 01:07, schrieb Nor Jaidi Tuah:
Most probably it's the optimizing behaviour
of the memory allocator and has got nothing
to do with the vala compiler.
I don't think this is the case.
If you call Dummy2(20), after returning from this function there are
approximately 60MB of RAM already used until the program ends.
Say LOOPS is 100.000.000 instead of 1.000.000 there are 6GB lost and my
PC starts massive swapping.
Looks like a memory leak, smells like a memory leak, ....
Of course the memory leak per loop is small and my test functions are a
little bit academic (LOOPS is very big), but the leak IS >0 and one is
not able to say how big LOOPS is in "real life".
--
Bernhard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]