joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

Memory Leaks after flipping through pages #194

Closed uttamk closed 11 years ago

uttamk commented 11 years ago

Hi

We use Monocle in conjunction with Apache Cordova (phonegap). What we see is a steady leak as we flip through the pages. The leaks are 500KB to 3MB (depending on the size of the content). We load the page content as an HTML string (and not as a URL). JS Memory profiling is a bit hard on the phonegap-UIWebView combo. First we thought that the UIWebView on iOS could be culprit. Fourtunately we also have an embedded chromium version of our app on Windows. That too leaks a similar amount of memory on page flips. That brought us to the conclusion that the leak could be in the Monocle implementation. Any help is greatly appreciated.

Thanks,

Uttam

uttamk commented 11 years ago

Apologies.. After profiling we found that the issue was with websql and not monocle. Closing this issue