texlive[52164] Build/source/texk/web2c: trie size: back to original

commits+karl at tug.org commits+karl at tug.org
Tue Sep 24 00:39:31 CEST 2019


Revision: 52164
          http://tug.org/svn/texlive?view=revision&revision=52164
Author:   karl
Date:     2019-09-24 00:39:30 +0200 (Tue, 24 Sep 2019)
Log Message:
-----------
trie size: back to original values

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/patgen.ch

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2019-09-23 21:28:21 UTC (rev 52163)
+++ trunk/Build/source/texk/web2c/ChangeLog	2019-09-23 22:39:30 UTC (rev 52164)
@@ -1,3 +1,10 @@
+2019-09-23  Karl Berry  <karl at freefriends.org>
+
+	* patgen.ch (trie_size),
+	(triec_size): reduce again, back to the original values,
+	10,000,000 and 5,000,000. A sad story.
+	Report from Mojca, 23 Sep 2019 21:21:42.
+
 2019-08-09  Karl Berry  <karl at freefriends.org>
 
 	* tex.ch (53.1374): only log \openout files if the log_openout

Modified: trunk/Build/source/texk/web2c/patgen.ch
===================================================================
--- trunk/Build/source/texk/web2c/patgen.ch	2019-09-23 21:28:21 UTC (rev 52163)
+++ trunk/Build/source/texk/web2c/patgen.ch	2019-09-23 22:39:30 UTC (rev 52164)
@@ -72,11 +72,18 @@
 @!text_char=ASCII_code; {the data type of characters in text files}
 @z
 
-% Maximum constant values from Keno Wehr, 17 May 2019 16:03:00,
-% and then reduced due to failures on other machines, latest from
-% Johannes Hielscher, 10 Jul 2019 00:00:03. If the values here are still
-% too big, you can probably get it to work by adding swap or zram; or
-% write a patch to allocate the arrays dynamically.
+% Much larger values requested from Keno Wehr, 17 May 2019 16:03:00,
+% but reduced (76000000/38000000) due to lack of memory on other
+% machines, from Johannes Hielscher, 10 Jul 2019 00:00:03 (tex-live list),
+% and later from Mojca Miklavec, 23 Sep 2019 21:21:42.
+% It seems hopeless, so went back to the original values (10000000/500000).
+% 
+% The real solution is to provide a way to allocate the arrays
+% dynamically, so that the large arrays can be used by those who need
+% them but other are not affected.
+% 
+% If the values here are still too big, you can probably get it to work
+% by adding swap or zram; or write a patch to allocate the arrays dynamically.
 @x
 @!trie_size=55000; {space for pattern trie}
 @!triec_size=26000; {space for pattern count trie, must be less than
@@ -83,8 +90,8 @@
  |trie_size| and greater than the number of occurrences of any pattern in
  the dictionary}
 @y
-@!trie_size =76000000; {max space for pattern trie}
-@!triec_size=38000000; {max space for pattern count trie, must be less than
+@!trie_size=10000000; {space for pattern trie}
+@!triec_size=5000000; {space for pattern count trie, must be less than
  |trie_size| and greater than the number of occurrences of any pattern in
  the dictionary}
 @z



More information about the tex-live-commits mailing list