[metapost] problems with memory in metapost

Taco Hoekwater taco at elvenkind.com
Fri May 7 14:57:56 CEST 2010


Yogeshwarsing Calleecharan wrote:
> I set the memory limit to a very high value (I don't know if this is 
> allowed). I get the message:
> 
> This is MetaPost, version 1.208 (kpathsea version 3.5.7dev) (mem=mpost 
> 2009.12.12)  7 MAY 2010 11:52
> **myfigu.mp
> (./myfigu.mp
> ! MetaPost capacity exceeded, sorry [main memory size=20000000].
> _wc->withpen
>             .currentpen.withcolor.currentcolor
> gpdraw->...ptpath[(EXPR0)]_sms((EXPR1),(EXPR2))_wc
> 
> .else:_ac.contour.ptpath[(...
> l.48057 gpdraw(0,517.1a,166.4b)

Looks like some form of recursion takes place, because this is the
same line number (with a different main memory size).
                                 ;
> If you really absolutely need more capacity,
> you can ask a wizard to enlarge me.

Nothing much I can do to help unless you can put the source files
on a website somewhere.

Best wishes,
Taco


More information about the metapost mailing list