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
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to