<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv186092309>
<DIV>Dear Taco,</DIV>
<DIV> </DIV>
<DIV>Thank you for your response. You are correct that I have TaxLive 2007. But I am sorry to say that I don't understand what you described</DIV>
<DIV> </DIV>
<DIV><<In texmf.cnf, there is a parameter named main_memory, which is<BR>set at 1500000 in your installation. To find texmf.cnf:<BR><BR> $ kpsewhich texmf.cnf<BR><BR>You can increase that parameter up to (if I recall correctly) 8000000.>></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I could open this file using my editor. So, can I just change 1500000 to 800000 in the sentence at 524th line in the file:</DIV>
<DIV><BR>main_memory = 1500000 % words of inimemory available; also applies to inimf&mp</DIV>
<DIV> </DIV>
<DIV><BR><<Afterwards, you have to regenerate the format(s) via fmtutil.<BR>If you want your change to affect only metapost, add or change<BR>main_memory.mpost only. Otherwise, you will have to regerate the<BR>latex etc. formats as well.>><BR><BR>This part I am afraid to say that I don't understand one bit. If you could enumerate a little bit in detail, I would appreciate greately.</DIV>
<DIV> </DIV>
<DIV>Thanks<BR><BR>--- On <B>Sat, 2/7/09, Taco Hoekwater <I><taco@elvenkind.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Taco Hoekwater <taco@elvenkind.com><BR>Subject: Re: [metapost] ! MetaPost capacity exceeded<BR>To: hmc0907@yahoo.com<BR>Cc: "MetaPost List" <metapost@tug.org><BR>Date: Saturday, February 7, 2009, 1:15 AM<BR><BR><PRE>Steve MC Han wrote:
> Hi,
> Is there any way to increase memory size in Metapost? This is what I got.
You don't say what platform/distribution you are using, but it seems
you have texlive 2007. In any case, the following advice is for tex-live
based systems; miktex has a different inifile mechanism.
In texmf.cnf, there is a parameter named main_memory, which is
set at 1500000 in your installation. To find texmf.cnf:
$ kpsewhich texmf.cnf
You can increase that parameter up to (if I recall correctly) 8000000.
Afterwards, you have to regenerate the format(s) via fmtutil.
If you want your change to affect only metapost, add or change
main_memory.mpost only. Otherwise, you will have to regerate the
latex etc. formats as well.
Best wishes,
Taco
</PRE></BLOCKQUOTE></DIV></td></tr></table><br>