![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
15 Nov
2012
15 Nov
'12
12:27 p.m.
! MetaPost capacity exceeded, sorry [expansion depth=10000]. I have come across this error previously with run-away \dorecurse loops I now have this message with a document that makes VERY heavy use of MetaPost; I just have too many figures. Is there some way to "flush" the running instance of MetaPost, that is to force MPlib to respawn or something like that? (Of course, I would then have to be careful not to rely on the reuse of any previous MP instances...) Alan