﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14231	Memory usage increase with MathJax plugin	Anna Tomanek		"(Reported on Zoho)

We use the CKEditor with the MathJax plugin where it is dynamically loaded 
into the page. When there are more then 2/3 MathJax formulas, the page goes very slow. On initial load the page uses 20mb of memory with one ckeditor 
instance without any formulas in the editor. 

With 10 MathJax formulas the memory usage goes to 60mb (triple the amount). 

When just using the MathJax plugin without CKEditor this doesn't happen. I 
suspect that there are memory leaks in the plugin for MathJax, we are using this in a Single Page Application so there are no page refreshes to clear the memory.

== Steps to reproduce == 

1. Go to and memory profile: https://jsfiddle.net/wcvufeo9/15/ 
2. Go to and memory profile: https://jsfiddle.net/wcvufeo9/14/ 

== Expected result == 
Maximum amount of memory increase with 130%. 

== Actual result == 
Memory increase of 300% with MathJax plugin. 


== Other details (browser, OS, CKEditor version, installed plugins) == 
Chrome: Version 46.0.2490.86 (64-bit) 
OSX 
CKEDITOR 4.5 

{{{
config.extraPlugins = 
'mathjax,widget,lineutils,clipboard,dialog,sourcedialog,autogrow,confighelper,customimg,tableresize';
}}}
 "	Bug	new	Normal		General	4.5.4			seadmemic@…
