My program fails with:
----------------------------------------------------
#
# Fatal error in CALL_HEAP_FUNCTION
# Allocation failed - process out of memory
#
Abort trap
----------------------------------------------------
The actual program memory consumption did not seam that high (around
250M of "Real Memory" - as Mac OS X names it). The computer has 4Gb of
RAM and the environment has no limitations on RSS:
max memory size (kbytes, -m) unlimited
virtual memory (kbytes, -v) unlimited
So, I am puzzled about the reason. I am using revision 592 checked out
as:
svn checkout http://v8.googlecode.com/svn/trunk/ v8
BTW, many related places in the source code have a comment:
/* TODO(1181417): Fix this. */
Is it some internal tracking id?
So guys, any ideas?
--
V
The attached script drives v8 gc mad. It eats up to 200Mb of RAM
having just 2000 objects active. Actually, memory consumption
oscillates by an order of magnitude, i.e. between 300Mb and 20Mb. Both
on my Mac and my colleague's Linux it starts to hyperoscillate having
queue size of 2000 and suddenly stops oscillating on 4000.
I use trunk, revision 605.
> <v8-gc-graph.png>
>
> http://www.tribler.org/attachment/wiki/PEXCrawl/v8-gc-graph.png