[TW5] Crash My TiddlyWiki 5 - Today's Episode BIG PDF

213 views
Skip to first unread message

RichShumaker

unread,
Dec 3, 2014, 12:09:57 AM12/3/14
to tiddl...@googlegroups.com
So I have a bad habit of crashing or doing things that crash TiddlyWiki.
I used TW Classic as an image browser for a few minutes until I crashed it years ago as an example.

Right now I have about 250 images in my TW5 file and it is running well.
Typically LARGE files kill TW so I took a rather clean TW5 and added a single large PDF file about 50MB.

Boom Goes the Dynamite and it crashed the browser.
Funny enough it did launch the PDF Viewer in the TW so presumably a smaller PDF would have been fine.
I was not surprised by the crash and it led me to thinking about solutions.
Is there a way to have TW save files locally and link to the file for [[Really Big Files]]?
You could set the file size limit somewhere in the TW.
That way you can't accidentally add a file that crashes your TW.

I know you can do a link to the [[Really Big File|file:BIGFILE.pdf]].
On my Windoze PC it links to files that are in the local folder using the above example.

So what have you done by accident OR on purpose that broke TW?
How could you solve that break?

Thanks again everyone.

Rich Shumaker

Tobias Beer

unread,
Dec 3, 2014, 4:48:51 AM12/3/14
to tiddl...@googlegroups.com
Hi Rich,

So I have a bad habit of crashing or doing things that crash TiddlyWiki.

^^
 
How could you solve that break?

I you're planning on having that much / big content...
skip the single file paradigm and ask yourself: What's the use?

Best wishes, Tobias.

Birthe C

unread,
Dec 3, 2014, 5:07:08 AM12/3/14
to tiddl...@googlegroups.com
Hi Rich


On Wednesday, December 3, 2014 6:09:57 AM UTC+1, RichShumaker wrote:
So I have a bad habit of crashing or doing things that crash TiddlyWiki.
 
Boom Goes the Dynamite and it crashed the browser.
Funny enough it did launch the PDF Viewer in the TW so presumably a smaller PDF would have been fine.

It seems to me you did not crash TiddlyWiki, you crashed the browser. No matter what I would not be surprised.


Birthe

RichShumaker

unread,
Dec 3, 2014, 4:07:04 PM12/3/14
to tiddl...@googlegroups.com
Birthe is correct I crashed the browser.

When I crashed my browser years ago I was trying to use TW Classic as a Photo Gallery.
After a certain size my TW Classic would slow the browser down then it churns it to a halt.
Eventually it crashed the browser every time and the TW Classic became unstable to use.

Thanks Tobias for the earlier solution to drag the TW5 into a new TW5 and select the content to move over.
That way if I do create an unstable TW5 I can rescue data I might need.
Also using /#:safe for the safe mode will be very cool.

This time trying to use TW5 as a 'Book Shelf' with the BIG PDF's where TW handles comments and details on the books.
Also I am trying to find faster solutions to get data into TW5 and avoid making the browser mad / crash.
I can easily link each file [[Book|book.pdf]] except that can be time consuming if you have a lot of files.

At what Tiddler Size or File Size do you switch from Single TW5 to Individual Tiddlers(I have not done an Individual Tiddler type of TW yet)?

Thanks everyone for all the help.

Rich Shumaker

Jeremy Ruston

unread,
Dec 3, 2014, 4:21:13 PM12/3/14
to TiddlyWiki
I've found PDF viewing to be particularly buggy in both Firefox and Chrome, but much better in Safari. In fact, on Safari you can use PDFs as images and everything works just as smoothly as with SVGs.

I wouldn't recommend embedding PDFs in the standalone TiddlyWiki. Much better to use them as external images via the _canonical_uri field.

Best wishes

Jeremy.


--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

RichShumaker

unread,
Dec 8, 2014, 7:57:22 PM12/8/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Thanks Jeremy.
I will put that on my list to start creating a stand alone TW.

Rich Shumaker
Reply all
Reply to author
Forward
0 new messages