New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596831 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

‘Hello world’ HTML page memory leak on page refresh and page navigation

Reported by amodlasa...@gmail.com, Mar 22 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36

Steps to reproduce the problem:
In one of my application based on HTML, JavaScript, JQuery I encountered a huge memory leak in chromium (Task manager, HTOP measurements recorded),
Then I started drilling it down for the actual cause, I followed below steps,
     - Confirmed the extensions and plugins are not active
     - GPU has been disabled
     - Applied all maximum memory leak solutions for JQuery
     - Applied all maximum memory leak solutions for JavaScript
     - Applied all maximum memory leak solutions for HTML

Still I realize the memory leak in application, then after I tried removing the code from application,
I followed below steps
     - Removed complex code of JavaScript, JQuery
     - Removed most optimized code of JavaScript, JQuery
     - Removed the entire JavaScript and JQuery code (myself found stupidity but did)

After removing the code, obviously there was nothing remain in my application, it was only a HTML
But still I realize the memory leak in HTML too :(
Then, I followed below steps,
     - Removed substantial  HTML5 tags
     - Removed basic HTML5 tags
     - Removed basic HTML tags

But still I realize the memory leak in Empty HTML too,
Then I created Hello world HTML but, memory leak surprises continued…!

-------------------------------------------------------------------------------------

Main Issue:
     1. I realize the memory leak in empty HTML Hello world page too !!!!!!
        I followed below steps,
           - Created ‘Hello world’ HTML page
           - Measured the initial consumed memory
           - Refreshed the page
        Incremental memory leak noticed in each refresh (has to call leak as it’s not being realised at all) 

     2. Memory leak is also being noticed while navigating one hello world page to another hello world page.
        Incremental memory leak noticed in each navigation of empty HTML pages, below are the HTOP readings

                     Virtual(Mb)       RES (Kb)
            initial     250            38196
After 9 navigations     261            53740
Browser Memory Leak      11            15544

What is the expected behavior?
Memory should not increase while page refresh and page navigation (at least with hello world HTML page)

What went wrong?
Questions:
    - Is there a way we can avoid this memory leak?  
    - is this issue yet to fix by team? 
    - Is this a usual behavior?  If its usual behavior then, can someone please explain the rational?

Did this work before? N/A 

Chrome version: 41.0.2272.76  Channel: n/a
OS Version: Ubuntu 14.04, running on Debian 8.2
Flash Version:
 
Empty_HTML_navigation.png
10.0 KB View Download
Page cache reload when search on Star Sports Live Streaming http://t20wc2016.com/star-sports-official-live-streaming-scores/
is it display error??
Can you update your version of Chrome and see if you can reproduce?
Cc: ashej...@chromium.org
Labels: Needs-Feedback
@ amodlasalkar: hey, would you mind trying the above issue on latest chrome stable version '49.0.2623.110' ? Also, provide us with sample HTML file, if it reproduces.

Appreciate your help.

Thank you!
Cc: durga.behera@chromium.org
Components: Blink>MemoryAllocator
Added respective Dev group to help further triage on this.
Components: -Blink>MemoryAllocator Blink
Labels: Te-NeedsFurtherTriage
Can anyone from Blink team update on this issue further.

Comment 6 by tkent@chromium.org, Jun 26 2016

Status: Archived (was: Unconfirmed)
Feedback timeout

Labels: -Te-NeedsFurtherTriage TE-NeedsfurtherTriage
render page cache when it search Pakistani Dramas online http://pakistanidramahd.com
provide us with sample HTML file,
can you update your version i think render page cache problem for http://dresseskhazana.com
Same problem is here. while i am going to search it gives nothing in search for http://hnewyear.com provide any solution for it.

Sign in to add a comment