add simple option to deactivate memory logging for non supported platforms or other problems
Merge pull request #322 from joergkappes/master

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