collect malloc defaults for emscripten, and do not try to trim