It's always useful to see things exactly the way the user sees them. I got the exact same error you did, when loading it as
tiddlywiki tw-benchmark --listen port=8090 The error occurs after 1862 "loads". However, when I check the internal contents, it appears that all tiddler titles have actually loaded (I can check these numbers because the advanced search works even when the server has crashed). But I was able to load the wiki via Bob just fine. So ... maybe Bob doesn't invoke all the "loads"? Or uses a different loading mechanism? I'm using Windows 7, so my system is very different from yours, but we're getting the same error. So anyone testing should use your data and the standard mechanism for using it on node.js. Good luck On Monday, June 3, 2019 at 11:09:55 AM UTC-7, solex wrote: > > Hi Mark, > > Sure, attached. > But like I said, it really is just a fresh wiki with a bunch of generated > simple tiddlers > > > > On Mon, Jun 3, 2019 at 6:46 PM 'Mark S.' via TiddlyWiki < > [email protected] <javascript:>> wrote: > >> I'm wondering about the data. Could you zip up your tiddlers and post it? >> >> About the email. Google bounces mail from certain domains (or at least >> that seems to be the problem). >> >> -- Mark >> >> On Monday, June 3, 2019 at 2:03:49 AM UTC-7, solex wrote: >>> >>> Hi all, >>> >>> I am rather new to TiddlyWiki, and I've been doing some experiments >>> recently with the automatic importing of data to a file-based wiki. >>> But I found that when serving a wiki with a few thousand tiddlers, the >>> node server crashes with the following error, while in the middle of >>> dispatching "load" tasks: >>> >>> RangeError: Maximum call stack size exceeded >>>> at Console.(anonymous function) >>>> (internal/console/constructor.js:243:9) >>>> at Console.log (internal/console/constructor.js:283:24) >>>> at Logger.log ($:/core/modules/utils/logger.js:32:25) >>>> at Syncer.dispatchTask ($:/core/modules/syncer.js:515:15) >>>> at Syncer.processTaskQueue ($:/core/modules/syncer.js:437:9) >>>> at $:/core/modules/syncer.js:445:27 >>>> at $:/core/modules/syncer.js:525:4 >>>> at FileSystemAdaptor.loadTiddler >>>> ($:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:193:2) >>>> at Syncer.dispatchTask ($:/core/modules/syncer.js:516:20) >>>> at Syncer.processTaskQueue ($:/core/modules/syncer.js:437:9) >>> >>> >>> My system: >>> tiddlywiki: 5.1.19 >>> node: 11.9.0 >>> MacOs: 10.13.6 >>> >>> I experimented with the total number, and found that the issue occurs >>> somewhere between 1500 and 2000 tiddlers. It looks like the content doesn't >>> matter: the problem occurs even with the simplest possible tiddlers (title >>> only). >>> >>> I also disabled the TW's logger just to rule out a problem in the logger >>> itself, and the problem persists. >>> >>> To reproduce the error: >>> >>> 1. Create a fresh "server edition" wiki >>> 2. Populate with 2000 tiddlers (I used a basic script for that) >>> 3. Start a server with a "listen" command >>> 4. Open the TW's page in the browser >>> >>> >>> 2000 tiddlers doesn't seem like a very large number for an in-browser >>> wiki, nor it should be a problem for a server per se. I believe the >>> bottleneck is somewhere in the synchronization process, but so far I wasn't >>> able to pinpoint it exactly. >>> >>> Has anyone experienced the same problem and is there is anything that >>> can be done to improve the sync performance? >>> >>> (Also, please let me know if this sort of question should be posted to >>> TiddlyWikiDev) >>> >>> Thanks! >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/tiddlywiki. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/c320a3b8-3d90-4bfd-8135-9d7518f0111b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/c320a3b8-3d90-4bfd-8135-9d7518f0111b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0c7700b8-ddfe-49b9-8e12-9a266aa8679b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

