> I think having a global variable for that is a bad idea, even if it is > only active in debugging mode: If you have multiple threads you will > get nonsense information. Isn't it possible to add this variable to > one of the existing structures?
Thanks for pointing that out. I can use the memory debug table if it contains the total size allocated ? I'll see if I can add it in some existing structure. Meanwhile I have reverted this commit. Anuj
