Thread: Sigil 0.3.0RC1
View Single Post
Old 10-09-2010, 03:40 PM   #21
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by theducks View Post
Every time I set a heading (using the H# tool), The working set increases about 2M. (I saw a Working set as high as 144M)
The Sigil core itself doesn't use any extra memory when you set a heading: it merely invokes a javascript command on the Book View QtWebkit instance to transform the element into a heading. What QtWebkit does in the background to accomplish this, I couldn't say. It's could be tracking changes for the internal undo stack. Again, I don't know for sure.

Some extra memory could be taken up by JavaScriptCore, but its garbage collector will take care of any unused memory when it becomes unused.

Bottom line, don't worry about it. But I'll take a closer look just in case.

Last edited by Valloric; 10-09-2010 at 03:42 PM.
Valloric is offline   Reply With Quote