Fix memory check on -C -m|-M
Fix crash on -m
Memory report and check when performing config check