[metapost] problems with memory in metapost
yogeshwarsing.calleecharan at ltu.se
Fri May 7 09:25:44 CEST 2010
I found this old post which explains how to increase memory in
I increased the value first to 800000 and then to slightly more but I'm
still getting the same memory error as shown in my first email.
Maybe I'll have to look for another format in gnuplot and not convert it
to metapost. Is there no other way to convert the mp file to eps?
-------- Original Message --------
Subject: [metapost] problems with memory in metapost
Date: Thu, 6 May 2010 23:26:20 +0200
From: Yogeshwarsing Calleecharan <yogeshwarsing.calleecharan at ltu.se>
To: metapost at tug.org <metapost at tug.org>
Hi, I'm using gnuplot to plot a graph to mp 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
! MetaPost capacity exceeded, sorry [main memory size=3000000].
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.
Thank you in anticipation.
More information about the metapost