memory problem with metapost

Posted by yCalleecharan on Stack Overflow See other posts from Stack Overflow or by yCalleecharan
Published on 2010-05-07T06:44:07Z Indexed on 2010/05/07 6:48 UTC
Read the original article Hit count: 276

Filed under:
|

Hi, I'm using gnuplot to plot a graph to the mp format and then I'm converting it to eps via the command:

mpost --sprologues=3 -soutputtemplate=\"%j-%c.eps\" myfigu.mp

But I don't get the eps output; instead I get this message:

This is MetaPost, version 1.208 (kpathsea version 3.5.7dev) (mem=mpost 2009.12.12) 6 MAY 2010 23:16 **myfigu.mp (./myfigu.mp ! MetaPost capacity exceeded, sorry [main memory size=3000000]. _wc->withpen .currentpen.withcolor.currentcolor gpdraw->...ptpath[(EXPR0)]_sms((EXPR1),(EXPR2))_wc

.else:_ac.contour.ptpath[(... l.48052 gpdraw(0,517.1a,166.4b) ; If you really absolutely need more capacity, you can ask a wizard to enlarge me.

How do I tweak in order to get more memory. The file from which I'm plotting has two columns of 189,200 values each. These values are of type long double (output from a C program). The text file containing these two column values is about 6 MB.

Thanks a lot...

© Stack Overflow or respective owner

Related posts about metapost

Related posts about memory