test memory usage of atomic differences patch