# HG changeset patch # User Alain Mazy # Date 1562142411 -7200 # Node ID 8f7930f589ef0bc9618f3a7593a7682649db5cf4 # Parent f7e5ee59ba17f9959a2fd92295781665f57a6003 comments diff -r f7e5ee59ba17 -r 8f7930f589ef Platforms/Wasm/Defaults.cpp --- a/Platforms/Wasm/Defaults.cpp Wed Jul 03 10:16:22 2019 +0200 +++ b/Platforms/Wasm/Defaults.cpp Wed Jul 03 10:26:51 2019 +0200 @@ -42,6 +42,8 @@ #endif #if 0 + // rewrite malloc/free in order to monitor allocations. We actually only monitor large allocations (like images ...) + size_t bigChunksTotalSize = 0; std::map allocatedBigChunks;