I found v8 garbage collecting patterns quite entertaining. The  
attached graph represents the number of currently allocated buffers.  
Buffers are wrapped by JavaScript objects, so deallocation happens on  
garbage collection. Due to the specifics of the program, it never  
needs more than 5000 buffers at once (actually, 2000+). CPU  
utilization is 2-5%. Still, out-of-memory is inevitable.

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

<<inline: v8-gc-graph.png>>


http://www.tribler.org/attachment/wiki/PEXCrawl/v8-gc-graph.png

On Oct 24, 2008, at 9:47 PM, Victor Grishchenko wrote:
> My program fails with:
> ----------------------------------------------------
> #
> # Fatal error in CALL_HEAP_FUNCTION
> # Allocation failed - process out of memory
> #
>
> Abort trap
> ----------------------------------------------------

Reply via email to