Opened 14 years ago
Last modified 13 years ago
#5773 confirmed Bug
SCAYT: Memory leak in IE
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3 |
Keywords: | IE, Review?, HasPatch | Cc: | WebSpellChecker.net |
Description
In IE6 there is a 8MB memory leak every time an instance of CKEditor is created.
Confirmed using Process Explorer, after creating & destroying CKEditor 10 times (using AJAX sample), memory usage (private bytes) jumped from 9MB to 90MB (tested on IE6.0.3790.1830 @ Win2003/SP1, also reported by user using IE6 6.0.2900.2180).
I have attached a dump from IE Sieve.
Attachments (2)
Change History (10)
Changed 14 years ago by
Attachment: | IESieve_leak_report.txt added |
---|
comment:1 Changed 14 years ago by
Summary: | Memory leak in IE6 → SCAYT: Memory leak in IE |
---|
comment:2 Changed 14 years ago by
Cc: | WebSpellChecker.net added |
---|---|
Milestone: | → CKEditor 3.4 |
comment:3 Changed 14 years ago by
Milestone: | CKEditor 3.4 |
---|
Changed 13 years ago by
Attachment: | 5773.patch added |
---|
comment:4 Changed 13 years ago by
Keywords: | Review? HasPatch added |
---|
WebSpellChecker.net team made refactoring of SCAYT plug-in. Memory leaks related to plug-in code were fixed.
WebSpellChecker.net team continues working on memory leaks issues in SCAYT core.
comment:5 Changed 13 years ago by
The patch is not clear of what changes has fixes the leak that makes the review hard, please dont include unrelated changes into the review.
By checking only the code, I can still confirm at least the following reference chains that would leak:
- CKEDITOR.plugins.undo.Image.prototype.equals -> editor
- oParams.onLoad -> editor.document.getWindow().$.frameElement
comment:6 Changed 13 years ago by
This is refactoring, Garry, so I think we'll need to have a full review here and accept the patch as valid.
As always, someone on the core team should take the ownership of the ticket, eventually providing a cleaner patch for final review (only if required).
comment:7 Changed 13 years ago by
Well... only if SpellChecker.net is really able to provide a new patch that fixes the memory leak only. Than, that's a different case.
comment:8 Changed 13 years ago by
We are in progress review whether we're able to prepare patch which fixes memory leaks only.
Disabling scayt with:
reduces the memory leak to 1.8MB in IE6.
The memory leak in IE8 with scayt enabled is around 10MB.