High memory usage due to FCKEditor

UNCONFIRMED
Unassigned

Status

()

P5
normal
UNCONFIRMED
5 years ago
2 months ago

People

(Reporter: mario151, Unassigned)

Tracking

27 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(3 attachments)

(Reporter)

Description

5 years ago
Created attachment 8371287 [details]
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..

Comment 1

5 years ago
Do you have exact steps to reproduce?
Whiteboard: [MemShrink]
What does the about:memory report say?
(Reporter)

Comment 3

5 years ago
Created attachment 8372104 [details]
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]

Comment 5

5 years ago
Can we get exact steps to reproduce?
Flags: needinfo?(mario151)
(Reporter)

Comment 6

5 years ago
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)
(Reporter)

Comment 7

5 years ago
Created attachment 8378133 [details]
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
You need to log in before you can comment on or make changes to this bug.