Re: [Vala] array memory leak?



On 06/03/2014 09:59, Ulink wrote:
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".
Can you please report a bug? Thanks.


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