Ticket #86 (closed defect: invalid)

Opened 1 year ago

Last modified 2 months ago

While parsing xHTML, Opera makes Apache eat all memory

Reported by: Romasito Assigned to: jf.hovinne
Priority: major Milestone: 0.5
Component: Editor Version: trunk
Keywords: opera, parser, xhtml Cc:

Description

While parsing xHTML, Opera makes Apache eat all memory.
It does happen when html source is long. If I submit the same HTML source code in shorter pieces, at the moment when parsing is undergoing, Apache memory usage rises from ~30MB to ~120MB, it all takes about few seconds and it is done. So it is no wonder why apache hangs up when parsing everything at once. It works all right with Firefox. Probably xHTML parser needs optimizations. Or maybe it is Opera's fault.

On the whole, it is good WYSIWYG editor, I like the idea.

WYMeditor version 0.4
Opera: both 9.24 or 9.5 Beta does the same.
Apache: 2.2.6.0

I figured this out by changing line 781 in jquery.wymeditor.js from

return this.parser.parse(this.html());

TO

return this.html();

So when skippping clean up, everything goes well, except that parser feature does nothing.

Change History

09/09/08 20:44:10 changed by jf.hovinne

  • status changed from new to closed.
  • resolution set to invalid.

Can't reproduce. I don't think this is related to WYMeditor.