[metapost] problems with memory in metapost

Yogeshwarsing Calleecharan yogeshwarsing.calleecharan at ltu.se
Fri May 7 11:55:23 CEST 2010

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
! MetaPost capacity exceeded, sorry [main memory size=20000000].
l.48057 gpdraw(0,517.1a,166.4b)
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

I tried with a value of 800000 also but it was pretty much the same 

Best Regards,

On 5/7/2010 10:50 AM, Taco Hoekwater wrote:
> Yogeshwarsing Calleecharan wrote:
>> Hi,
>>     I found this old post which explains how to increase memory in
>> metappost.
>> http://www.tug.org/pipermail/metapost/2009-February/001538.html
>> 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.
> If the error message reports the same line number as before, then
> mpost is still using the old value. So in that case I think something
> went wrong in the 'regenerate the mem file' part of that explanation
> in the link you posted.
> Otherwise, the difference between the reported line number in the error
> and the actual number of lines in your data file should give you an
> approximation of how much memory will actually be needed.
> Best wishes,
> Taco
> --
> http://tug.org/metapost/

More information about the metapost mailing list