Paul Rubin <phr-n2003b at NOSPAMnightsong.com> writes: > Is there an obstacle to instrumenting the memory allocator to remember > how much memory has been allocated by sandboxed code? Yes. It is difficult to find out whom to attribute any allocation to. It is likely also very expensive even if not used. Regards, Martin