Another place where memory graph may be generated

(I don't know which one is actually used.  I'm committing this stuff
without any testing.)