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 Bugs | Assignee: | 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 | ||
          Alexandra Santos
          
          
          
          
        
        
      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.
    | Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. | 
          Simon Hausmann
          
          
          
          
        
        
      The N97 has apparently very little RAM available. I guess this issue is caused by the currently very high memory usage of QtWebKit.
    
          Siddharth Mathur
          
          
          
          
        
        
      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
    
          Laszlo Gombos
          
          
          
          
        
        
      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.
    
          Sriram
          
          
          
          
        
        
      i think we need to look at Siddharth's proposal.  Similar issue was reported in Qt 4.6.3.
    
          Laszlo Gombos
          
          
          
          
        
        
      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
    
          Alexandra Santos
          
          
          
          
        
        
      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
    
          ext-udayan.gohel
          
          
          
          
        
        
      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.
    
          Simon Hausmann
          
          
          
          
        
        
      Let's track the out of memory issue at 40111
*** This bug has been marked as a duplicate of bug 40111 ***