Allow to disable memory limit at compilation time
Merge remote-tracking branch 'origin/396-disabling_memory_limit-feature'