Fixed bug with GCC.
Fixed bug.
Check memory_logger size validation at compile time.