Hello.
Is there any way (any API support) to find out how much memory has my application allocated in any moment? I have one that uses a lot of malloc()'s and free()'s. I got idea that i could use a global variable to count them all as they are performed, but i'd like to know if there is not better (simplier, possibly more accurate) way to archieve this