Variable instance identifiers exhausted
Dear List, I’m running into a problem in Metapost (using Context of course!) creating (I think) too many objects; I got this error message: variable instance identifiers exhausted I have tried without success to find information and a solution. Does somebody has a hint to solve this ? Thanks, Fabrice.
On Mon, Sep 17, 2018 at 9:18 PM Fabrice L
Dear List,
I’m running into a problem in Metapost (using Context of course!) creating (I think) too many objects; I got this error message:
variable instance identifiers exhausted
I have tried without success to find information and a solution. Does somebody has a hint to solve this ?
Do you have minimal example ? -- luigi
Le 18 septembre 2018 à 01:15:36, luigi scarso (luigi.scarso@gmail.com) a
écrit:
On Mon, Sep 17, 2018 at 9:18 PM Fabrice L
Dear List,
I’m running into a problem in Metapost (using Context of course!) creating (I think) too many objects; I got this error message:
variable instance identifiers exhausted
I have tried without success to find information and a solution. Does somebody has a hint to solve this ?
Do you have minimal example ? I have worked on a minimal example today with no success ! What I mean is that I have rebuilt the same algorithm from scratch in order to show something minimal to the list, and I do not seem to encounter the problem anymore ! The problem is that the process take hours of compilations, and tests are not easy to do. Anyway, I will enrich my « minimal » code to my « full » code in order to find the difference… and the problem. I will update the thread as soon as can. Thanks a lot for helping. Fabrice. -- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Tue, 18 Sep 2018 19:21:31 -0700
Fabrice L
The problem is that the process take hours of compilations, and tests are not easy to do. Anyway, I will enrich my « minimal » code to my « full » code in order to find the difference… and the problem. I will update the thread as soon as can.
My over 700k object graphics example, processed several times (repeatedly, over several pages with modifications) took less than one minute to process. In fact, each graphic took almost as long to render from the pdf as it did for metapost/lua to process. Alan
On 17 Sep 2018, at 21:17, Fabrice L
wrote: Dear List,
I’m running into a problem in Metapost (using Context of course!) creating (I think) too many objects; I got this error message:
variable instance identifiers exhausted
The max value for that is 2^31, or about 2 billion (and some change). Are you sure you do not have an eternal loop in your source? Best wishes, Taco
Le 18 septembre 2018 à 03:11:40, Taco Hoekwater (taco@elvenkind.com) a écrit:
On 17 Sep 2018, at 21:17, Fabrice L
wrote: Dear List,
I’m running into a problem in Metapost (using Context of course!) creating (I think) too many objects; I got this error message:
variable instance identifiers exhausted
The max value for that is 2^31, or about 2 billion (and some change). Are you sure you do not have an eternal loop in your source? The number of objects I have is clearly less than 2^31, so my problem is elsewhere then. I do not think this a loop problem, because the same code runs ok for 15 000 objects, but give an error for 18 000 objects. I’m working to build a minimal example. Thanks a lot for the help ! Much appreciated. Fabrice. Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 9/19/2018 4:24 AM, Fabrice L wrote:
I do not think this a loop problem, because the same code runs ok for 15 000 objects, but give an error for 18 000 objects. I’m working to build a minimal example. So what do you do with the objects? At the ctx meeting we've seen examples of graphics using many more than 15K that processed fast and also (maybe surprisingly) could be previewed quite ok. So, indeed a minimal example would help.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 19 Sep 2018 09:28:36 +0200
Hans Hagen
On 9/19/2018 4:24 AM, Fabrice L wrote:
I do not think this a loop problem, because the same code runs ok for 15 000 objects, but give an error for 18 000 objects. I’m working to build a minimal example. So what do you do with the objects? At the ctx meeting we've seen examples of graphics using many more than 15K that processed fast and also (maybe surprisingly) could be previewed quite ok. So, indeed a minimal example would help.
No, it was more than 700k objects! Alan ;-)
participants (5)
-
Alan Braslau
-
Fabrice L
-
Hans Hagen
-
luigi scarso
-
Taco Hoekwater