initializing memory used by memlog (it would probably work OK even uninitialized, but valgrind complains)