add simple option to deactivate memory logging for non supported platfor...

...ms or other problems