WIP- Fix logging of memory allocation in a fragment run