[Therion] Limit in the number of scraps in a (big) project ?

Xavier Robert xavier.robert at univ-grenoble-alpes.fr
Wed Oct 8 15:23:53 CEST 2025


Hi all,

I am maintaining a quite big structured Therion database with more than 700 caves (https://github.com/robertxa/Topographies-Samoens_Folly). I am using Therion 6.3.3 (2025-01-06), TeX Live 2015 (MetaPost 1.999).
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.

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 (https://groupe-speleo-vulcain.com/wp-content/themes/custom_theme/3d/JB.html), I get an error during the « Preloading the plain mem file » :
[...]
[4090] [4091] [4092] [4093] [4094] [4095]
! Number is too large (4096).
l.296920 beginfig(4096
                      );
[4096]
! Number is too large (4097).
l.296923 beginfig(4097
                      );
[4097]
… and so on… 
therion: error -- metapost exit code -- 512

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/). 
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.

I tried to recompile my database after commenting a small part of the database that I did not change recently. The compilation run well.

So, I suspect that there is a limit in the number of objects (scraps ?) Therion (or mpost ?) can handle. Am I right ?

Is there a way to get rid off this limitation ?

Cheers,

Xavier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20251008/6eb460fa/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: therion.log.zip
Type: application/zip
Size: 54242 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20251008/6eb460fa/attachment-0001.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20251008/6eb460fa/attachment-0003.htm>


More information about the Therion mailing list