Added measuring Diamonds own memory usage