Hi,

I'm running chromium on ARM-A9 with 512MB RAM.
When I running sunspider 0.9.1, renderer is dead by oom killer.

That renderer eats all of system memory.
So, I changed the sunspider's javascript code.

This function is what I modified.
When I remove first two lines, I cannot see any memory loss.
It works well.

function reallyNext() 
{
    document.getElementById("frameparent").innerHTML = "";
    document.getElementById("frameparent").innerHTML = "<iframe 
id='testframe'>";
    var testFrame = document.getElementById("testframe");
    testIndex++;
    if (testIndex < tests.length) {
        testFrame.contentDocument.open();
        testFrame.contentDocument.write(testContents[testIndex]);
        testFrame.contentDocument.close;
    } else if (++currentRepeat < repeatCount) { 
        testIndex = 0;
        testFrame.contentDocument.open();
        testFrame.contentDocument.write(testContents[testIndex]);
        testFrame.contentDocument.close;
    } else {
        finish();
    }
}


What is the reason of this happening?
ARM environment?

Please give me any advice.

BR,
Simon.

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to