Marked goes slow down

oelauge's Avatar

oelauge

11 Nov, 2012 08:41 PM

Marked works great, till i reach the mark with ca. 20000 characters in one file. Because the discussions here around similar problems, i have the same effect, Marked reach the 100% cpu power and say nothing more. i don't work with ruby. Inside my text is only standard multimarkdown and if i split the content in small snippets, everything is running.

Thanks

oelauge

  1. Support Staff 1 Posted by Brett on 22 Nov, 2012 03:12 AM

    Brett's Avatar

    20,000 characters shouldn't cause issues, Marked has been tested on text files over a megabyte. It slows down at that size, a bit, but doesn't hang like that.

    Do you have a copy of this text file that I could try locally? You can make a private conversation if needed, and only I will see it. Let me know.

  2. 2 Posted by oelauge on 23 Nov, 2012 01:53 PM

    oelauge's Avatar

    With the help by Brett, my mistake was that i used

    -tags in my mmd-text. And here has Multimarkdown some problems.
    
  3. 3 Posted by Morgan Roderick on 29 Nov, 2012 01:06 PM

    Morgan Roderick's Avatar

    I am seeing similar behaviour, where Marked is unresponsive for up to a minute, and then comes back with a perfectly rendered document.

    Feel free to write to my email address and I can send you the document in question.

  4. 4 Posted by canyaman on 15 Feb, 2013 04:48 PM

    canyaman's Avatar

    I love marked. I'm wiriting software design document and I want to add my json files as code snipped to my document. I can do that but I have to wait 10 minute only for 1500words(~15 json file included).

    Thanks,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac