make sure sizeofag is in the project so that it can be used for
measuring memory.