Bug 40070

Summary: [Qt] QtTestBrowser "Memory full" message is presented several times while using QtWebkit 2.0
Product: WebKit Reporter: Alexandra Santos <alexandra.1.santos>
Component: New BugsAssignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ext-udayan.gohel, hausmann, laszlo.gombos, s.mathur, sriram.yadavalli
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: S60 Hardware   
OS: S60 3rd edition   
Bug Depends on:    
Bug Blocks: 35784    

Description Alexandra Santos 2010-06-02 10:59:47 PDT
While using QtTestBrowser on N97 "Memory full" message is displayed on the Screen.

Steps to reproduce:

1.- On N97 Install Qt 4.6.2, QtWebkit.sis (QtWebkit 2.0)and QtTestBrowser.
2.- Launch QtTestBrowser and start loading pages 

Actual Results:

Memory full message is displayed on the screen.

Expected results:

Browser would load several pages without any "memory full" warning.

Note: 

This issue was not observed on previous QtWebkit builds. It was observed after week 20 build.
Comment 1 Simon Hausmann 2010-06-04 14:18:27 PDT
The N97 has apparently very little RAM available. I guess this issue is caused by the currently very high memory usage of QtWebKit.
Comment 2 Siddharth Mathur 2010-06-04 19:07:12 PDT
Simon, 
It will be also useful to check if QtWebkit.dll is being produced using BYTEPAIR compression (it should be to save lots of RAM). See http://bugreports.qt.nokia.com/browse/QTBUG-8203. 
To check binary header (including compression type), use 
elf2e32 --dump=h --e32input=\epoc32\release\armv5\urel\QtWebkit.dll
Comment 3 Laszlo Gombos 2010-06-08 11:11:14 PDT
Increasing the priority from P3 to P2.

Alexandra, can you publish the actual pages you are loading  - since these are live sites we can not really reproduce the exact same scenario, but if the issue is persistent, we should be able to reproduce the out-of-memory situation.
Comment 4 Sriram 2010-06-09 11:29:40 PDT
i think we need to look at Siddharth's proposal.  Similar issue was reported in Qt 4.6.3.
Comment 5 Laszlo Gombos 2010-06-09 15:09:41 PDT
I have checked the http://pepper.troll.no/qtwebkit/weekly-builds/2.0/week22/qtwebkit-2.0-symbian.zip build and it is using BYTEPAIR.

E32ImageFile 'QtWebKit.dll'
V2.01(596)      Time Stamp: 00e165e4,ec8537c0
EPOC Dll for ARMV4 CPU
Flags:  1200022b
Entry points are not called
Image header is format 2
Image is compressed using the BYTEPAIR algorithm
Uncompressed size 00815830
Image FPU support : Soft VFP
Pageability : Paged
Debuggable : False
Comment 6 Alexandra Santos 2010-06-14 10:01:38 PDT
Hi, Lazlo:

I spoke to Jasty, explaining in which situations I have seen these messages. There is no specific pattern on how to reproduce this issue. However, here is the list of websites I have been using:

www.xml.com
www.slashdot.org
www.wikipedia.com
www.foxnews.com
www.cnn.com
www.ovi.com
www.gmail.com
www.Activehotels.com
www.nokia.com
www.amazon.com
www.usda.gov
www.ebay.com
www.msn.com
www.t-online.de
www.vsky.com.cn
www.yahoo.com
www.LATimes.com
www.Nationalgepgraphic.com
www.peoplemanagement.com

Other cases where this issue has been observed is while executing the following tests: http://iop1.nokia-boston.com/stability_live/Stability_Live_multiplewindows.html
Comment 7 ext-udayan.gohel 2010-06-14 11:37:07 PDT
Below mentioned all websites are loading fine on latest version of WebKit 2.0 with WrtLite browser:

www.xml.com
www.slashdot.org
www.wikipedia.com
www.foxnews.com
www.cnn.com
www.ovi.com
www.gmail.com
www.Activehotels.com
www.nokia.com
www.amazon.com
www.usda.gov
www.ebay.com
www.msn.com
www.t-online.de
www.vsky.com.cn
www.yahoo.com
www.LATimes.com
www.Nationalgeographic.com
www.peoplemanagement.com

NO "Memory Full" message is coming up while loading all above pages.
Comment 8 Simon Hausmann 2010-06-16 23:12:17 PDT
Let's track the out of memory issue at 40111

*** This bug has been marked as a duplicate of bug 40111 ***