Hi,

I've got this problem with the v8 javascript engine. I'm not using it
directly, I'm using the Chromium Embedded Framework, which is based on
Chromium. The details about this problem is explained here:
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=66&start=0 .

In a nutshell, I'm trying to display something similar to the
following piece of HTML:

<html><head><title>Client Scheme Handler</title>
<script language=\javascript\>
var myarray = new Array();
myarray['abc'] = 'abfdasfasdcsdfasdf';
myarray['abcd'] = 'abafdsasdfcd';
myarray['abcde'] = 'abadsfasdfcde';
myarray['abcdef'] = 'abadfasdfcdef';
myarray['abca'] = 'abadfser54ca';
myarray['abcab'] = 'abcdsertyy54yab';
myarray['abcabc'] = 'abcjkuyjk7abc';
myarray['abcg'] = 'abktyk67tkcg';
myarray['abcgh'] = 'abck6k67ui6trugh';
myarray['abcghi'] = 'abcfgncheyw454w5y544ghi';
myarray['abcj'] = 'abcdjjytu5674567j';
myarray['abcjk'] = 'abc25j54645tygk';
// ... etc
</script>
</head><body><div id=\content\></div></body></html>

and yes, it only declared an array with no reference.

Navigating to such a page, for about 900 times, will cause a crash in
v8, at line 226 of V8Proxy.cpp , when v8 reports "Allocation failed -
process out of memory", with location = "CALL_AND_RETRY_2" . You can
see all the details in the post I mentioned previously. I've uploaded
an executable there to reproduce it too.

I suspect that this is a garbage collection problem in v8 but I'm not
sure. I'll be thankful if anyone could review this for me and guide me
through debugging and find out the cause about this.

Thanks in advance,
He Shiming

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

Reply via email to