[metapost] independent variable overflow

Taco Hoekwater taco at elvenkind.com
Sun Mar 26 09:34:31 CEST 2006


Hi,

Karl Berry wrote:

> I changed main_memory but the "independent variables" overflowed at
> the same number: 33554431.

You cannot change this limit. The value can also be written as
2^25-1, and that is as high as it can get.

> One thing is for sure: the greater the number of macros, the greater
> the risk of overflow. Ten years ago, I had very few macros, and the
> same graphic i'm trying to run now, ran ok.

Try making some of your numerics into internals (newinternal), that
should help some. I'll think about ways to 'fix' this limit.

Cheers, taco


More information about the metapost mailing list