[TiddlyDesktop] TWC & TW5 Open at the Same Time Causing a Slowdown?

97 views
Skip to first unread message

Scott Simmons

unread,
Dec 31, 2015, 8:26:59 AM12/31/15
to tiddl...@googlegroups.com
Is it just my imagination, or does TiddlyDesktop 0.0.8 get quite sluggish after having both a TiddlyWiki5 and a TiddlyWiki Classic file open at the same time?

At first, I thought it might be TiddlyDesktop taking a while with scripts in my TW5, but it seems to start lagging once I've had both types of TW open at once — and continues until I close and restart TiddlyDesktop.  I didn't have this experience in 0.0.6, but I do remember closing at restarting 0.0.7 once or twice during its brief life — on the computer where I most often have TWC and TW5 files open side by side.

Anyone else experiencing this?

Scott Simmons

unread,
Jan 2, 2016, 8:16:17 AM1/2/16
to TiddlyWiki
I don't know that it's necessarily the mix of classic and modern TiddlyWikis doing it, but TiddlyDesktop is definitely slowing down for me periodically if I leave it open a while and have several TWs open during a session.  A quick restart of TiddlyDesktop resolves the problem.

I typically notice the slowdown in increased save times, leaping from maybe 6 or 7 seconds to over half a minute and sometimes as long as two minutes if I let TiddlyDesktop stay open a while longer without restarting it.

Jeremy Ruston

unread,
Jan 4, 2016, 1:50:14 PM1/4/16
to tiddl...@googlegroups.com
Hi Scott

It would be interesting if you could use the tools provided by your operating system to review the memory usage of TiddlyDesktop. On the Mac, you can use “Activity Monitor”. I think on Windows “Task Manager” is still accessible by right-clicking on the task bar. In either case, you should be able to find a report of the current memory consumption of TiddlyDesktop. It would be helpful if you could note down the usage when you first start TiddlyDesktop after a reboot, and after you’ve been using it for various things.

I suspect that there’s a memory leak, but you might be able to help track down the actions that lead to it.

Best wishes

Jeremy.


On 2 Jan 2016, at 13:16, Scott Simmons <goo...@secret-hq.com> wrote:

I don't know that it's necessarily the mix of classic and modern TiddlyWikis doing it, but TiddlyDesktop is definitely slowing down for me periodically if I leave it open a while and have several TWs open during a session.  A quick restart of TiddlyDesktop resolves the problem.

I typically notice the slowdown in increased save times, leaping from maybe 6 or 7 seconds to over half a minute and sometimes as long as two minutes if I let TiddlyDesktop stay open a while longer without restarting it.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/3c289977-559a-4fce-9e63-9a455d553828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott Simmons (Secret-HQ)

unread,
Jan 4, 2016, 3:06:52 PM1/4/16
to TiddlyWiki
I'll try to catch it in the act.

There are usually three child processes of nw.exe running, and they mostly fluctuate from 50-90,000 KB each.  I've seen them spike up to 4-500,000 KB when TiddlyDesktop is starting to slow down.

I tried exporting a .DMP file from Process Explorer just now (while TD is running like a champ), but in the absence of a crash there's nothing there I can view/read with my meager debugging tools.  If you think that might be useful, I'll upload it here so you can have a look ... .

(Also, I have a Frankenstein monster file that I occasionally open to fish things out of.  It likely has distorted macro calls and mangled code throughout, so I'm going to be careful NOT to open it with TiddlyDesktop, just to see if it's setting off the chain of events that bogs down TD.)

Scott Simmons (Secret-HQ)

unread,
Jan 11, 2016, 11:15:50 AM1/11/16
to TiddlyWiki
Not sure if these will help, but I grabbed a couple of screenshots from Process Explorer showing the thread that's using the most memory when the slowdown occurs.  This time, I happened to remember I'd only run a single TiddlyWiki Classic in TiddlyDesktop.  (No funny stuff therein.  It's a largeish TW at 12.4 MB, but it's the same one I used throughout 2015 and had been using in different editions of TiddlyDesktop going back to 0.0.5.)

These screenshots were taking after closing that one open TiddlyWiki, when only the TWs panel was open.

I was also able to export a list of strings in use by that process.  It doesn't look to have any personally identifiable information, but before I put it on Pastebin or the Web, I'll ask Jeremy about sending it to him personally.

Let me know if there's anything else I can monitor/provide.
TiddlyDesktop_Node.js_processes_01.png
TiddlyDesktop_Node.js_processes_02.png
Reply all
Reply to author
Forward
0 new messages