[metapost] MetaPost Sandbox -- MP test/display program using Qt

Taco Hoekwater taco at elvenkind.com
Fri Aug 24 11:56:05 CEST 2012


On 08/22/2012 09:25 PM, Shriramana Sharma wrote:
>
> I do not understand why this should be so. I am sure it is not due to
> my mp-format-to-c-header hack because even if I remove the hack and
> tell MPLib to mp_execute ( _mp_instance, "input plain;\n", 14 ), the
> problem persists. I wonder if anyone can help me with that.

mp runs out of memory (which you do not see because you do not query
mp_run_data after each execute). Adding this line helps:

	_mp_options -> main_memory = 1000000;

Best wishes,
Taco


More information about the metapost mailing list