<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I am maintaining a quite big structured Therion database with more than 700 caves (<a href="https://github.com/robertxa/Topographies-Samoens_Folly" class="">https://github.com/robertxa/Topographies-Samoens_Folly</a>). I am using Therion 6.3.3 (2025-01-06), TeX Live 2015 (MetaPost 1.999).</div><div class="">Following a new session of exploration and surveys, I added some scraps in this database. I have no problem to run any compilation of separate caves.</div><div class=""><br class=""></div><div class="">But since my last update, when I try to run a Therion compilation for the whole database to build the 3D view of the system (<a href="https://groupe-speleo-vulcain.com/wp-content/themes/custom_theme/3d/JB.html" class="">https://groupe-speleo-vulcain.com/wp-content/themes/custom_theme/3d/JB.html</a>), I get an error during the « Preloading the plain mem file » :</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[...]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[4090] [4091] [4092] [4093] [4094] [4095]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">! Number is too large (4096).</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">l.296920 beginfig(4096</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                      );</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[4096]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">! Number is too large (4097).</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">l.296923 beginfig(4097</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                      );</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[4097]</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">… and so on… </span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">therion: error -- metapost exit code -- 512</span></div></span></div><div class=""><br class=""></div><div class="">I a m not sure, but I think that I have a total of 4102 objects (this is the last number with a similar error ; with a total of 4117 files written in thTMPDIR/). </div><div class="">If I run Therion with the -d option, I see all the data.xxxx from 1 to 4102 in thTMPDIR/. The compressed log file is in attachement.</div><div class=""><br class=""></div><div class="">I tried to recompile my database after commenting a small part of the database that I did not change recently. The compilation run well.</div><div class=""><br class=""></div><div class="">So, I suspect that there is a limit in the number of objects (scraps ?) Therion (or mpost ?) can handle. Am I right ?</div><div class=""><br class=""></div><div class="">Is there a way to get rid off this limitation ?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Xavier</div><div class=""><br class=""></div><div class=""></div></body></html>