Re: [webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-29 Thread Holger Freyther
On Thursday 30 July 2009 02:52:11 Holger Freyther wrote: > On Wednesday 29 July 2009 17:40:59 Zongheng Zhou wrote: > > After I load "www.cnn.com" for 800 times consecutively, the virtual > > memory size of my little program has reached 1600M; while the resident > > memory is 1500M > > This is h

Re: [webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-29 Thread Holger Freyther
On Wednesday 29 July 2009 17:40:59 Zongheng Zhou wrote: > After I load "www.cnn.com" for 800 times consecutively, the virtual memory > size of my little program has reached 1600M; while the resident memory is > 1500M > This is horribleIs this kind of memory leak expected? It would be a gre

Re: [webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-29 Thread tonikitoo (Antonio Gomes)
Something that could be helpful is running your test batch w/ GtkLauncher too to see if the problem is qt-specific (i bet not) or at least to check if it is even worse in qt port than others On Wed, Jul 29, 2009 at 11:40 AM, Zongheng Zhou wrote: > After I load "www.cnn.com" for 800 times consecuti

Re: [webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-29 Thread David Kilzer
On Wednesday, July 29, 2009 8:40:59 AM, Zongheng Zhou wrote: >After I load "www.cnn.com"; for 800 times consecutively, >the virtual memory size of my little program has reached >1600M; while the resident memory is 1500M > >This is horribleIs this kind of memory leak expected? Of course

Re: [webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-29 Thread Zongheng Zhou
After I load "www.cnn.com" for 800 times consecutively, the virtual memory size of my little program has reached 1600M; while the resident memory is 1500M This is horribleIs this kind of memory leak expected? ___ webkit-dev mailing list webkit-dev

[webkit-dev] Memory leak or should I clear content of QWebPage?

2009-07-28 Thread Zongheng Zhou
Hi, all I just built a program in QT webkit, and noticed that the memory usage of my program grows 1 or 2 megabytes as I load each web page. My program is quite simple. I defined a global variable: QWebPage mypage; Each time when a new URL request comes, I call the following to load the web page: