Open Bug 968700 Opened 12 years ago Updated 3 years ago

High memory usage due to FCKEditor

Categories

(Core :: DOM: Core & HTML, defect, P5)

27 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mario151, Unassigned)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(3 files)

Attached image screen.jpg
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140127194636 Steps to reproduce: Open 6 sites, all in one window, in 6 bookmarks, with admin text editor (using oscgold.com system). Actual results: In normal size Memory taken Expected results: its should not happen.. in version 26 i haven't got that..
Do you have exact steps to reproduce?
Whiteboard: [MemShrink]
What does the about:memory report say?
Attached file memory-report.json.gz
its you test needed..
Tons of stuff like this: │ │ ├──201.34 MB (15.97%) -- active │ │ │ ├───31.21 MB (02.47%) -- window(http://www.tesam.eu/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=products_description[1]&Toolbar=oscGold) │ │ │ │ ├──27.02 MB (02.14%) -- layout │ │ │ │ │ ├──25.89 MB (02.05%) ── style-sets [15] │ │ │ │ │ └───1.13 MB (00.09%) ++ (6 tiny) │ │ │ │ └───4.18 MB (00.33%) ++ (4 tiny) │ │ │ ├───18.24 MB (01.45%) -- window(http://www.tesam.eu/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=zakladka_one_opis[1]&Toolbar=oscGold) │ │ │ │ ├──15.53 MB (01.23%) -- layout │ │ │ │ │ ├──14.84 MB (01.18%) ── style-sets [9] │ │ │ │ │ └───0.69 MB (00.05%) ++ (6 tiny) │ │ │ │ └───2.71 MB (00.21%) ++ (4 tiny) │ │ │ ├───18.24 MB (01.45%) -- window(http://www.tesam.eu/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=zakladka_two_opis[1]&Toolbar=oscGold) │ │ │ │ ├──15.53 MB (01.23%) -- layout │ │ │ │ │ ├──14.84 MB (01.18%) ── style-sets [9] │ │ │ │ │ └───0.69 MB (00.05%) ++ (6 tiny) │ │ │ │ └───2.71 MB (00.21%) ++ (4 tiny) and also this: 41,778 (100.0%) -- event-counts └──41,778 (100.0%) -- window-objects ├───8,092 (19.37%) -- top(http://www.akin.pl/administracja/categories.php?cPath=&action=new_product, id=1404)/active │ ├──1,096 (02.62%) -- window(http://www.akin.pl/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=products_description[4]&Toolbar=oscGold)/dom │ │ ├──1,095 (02.62%) ── event-listeners [15] │ │ └──────1 (00.00%) ── event-targets │ ├────668 (01.60%) -- window(http://www.akin.pl/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=products_description[1]&Toolbar=oscGold)/dom │ │ ├──667 (01.60%) ── event-listeners [9] │ │ └────1 (00.00%) ── event-targets │ ├────668 (01.60%) -- window(http://www.akin.pl/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=zakladka_one_opis[1]&Toolbar=oscGold)/dom │ │ ├──667 (01.60%) ── event-listeners [9] │ │ └────1 (00.00%) ── event-targets │ ├────649 (01.55%) -- window(http://www.akin.pl/administracja/includes/javascript/FCKeditor/editor/fckeditor.html?InstanceName=products_description[2]&Toolbar=oscGold)/dom │ │ ├──648 (01.55%) ── event-listeners [9] │ │ └────1 (00.00%) ── event-targets plus we have this: 5,248 (100.0%) -- observer-service-suspect ├────955 (18.20%) ── referent(topic=memory-pressure) ├────516 (09.83%) ── referent(topic=xpcom-shutdown) ├────505 (09.62%) ── referent(topic=network:offline-status-changed) ├────502 (09.57%) ── referent(topic=dom-storage2-changed) ├────400 (07.62%) ── referent(topic=chrome-flush-skin-caches) ├────395 (07.53%) ── referent(topic=agent-sheet-added) ├────395 (07.53%) ── referent(topic=agent-sheet-removed) ├────395 (07.53%) ── referent(topic=author-sheet-added) ├────395 (07.53%) ── referent(topic=author-sheet-removed) ├────395 (07.53%) ── referent(topic=user-sheet-added) └────395 (07.53%) ── referent(topic=user-sheet-removed) FCKEditor, which is some kind of WYSIWYG HTML editor, seems to be at fault -- it's creating heaps of window objects and looks like they're being kept alive by event listeners?
Summary: lots of ram memory taken !! → High memory usage due to FCKEditor
Whiteboard: [MemShrink] → [MemShrink:P3]
Can we get exact steps to reproduce?
Flags: needinfo?(mario151)
U must have that shop - www.oscgold.com Version : 4.0 2365 When u use - Add new item to shop - site like this is opening - attachment default_view.jpg - and when u done it in few sites with the same editor (different domains) ram is taken a lot.. If u want more information say me. Greetings!
Flags: needinfo?(mario151)
Attached image default_view.jpg
image to comment.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: