Bug 43426

Summary: [v8] Get current memory usage and make it available on stack before crashing due to out of memory
Product: WebKit Reporter: anton muhin <antonm>
Component: WebCore Misc.Assignee: anton muhin <antonm>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Better English none

Description anton muhin 2010-08-03 09:19:16 PDT
[v8] Get current memory usage and make it available on stack before crashing due to out of memory
Comment 1 anton muhin 2010-08-03 09:26:13 PDT
Created attachment 63339 [details]
Patch
Comment 2 David Levin 2010-08-03 10:44:22 PDT
Comment on attachment 63339 [details]
Patch

Some minor typo fixes below.

> diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
> +        That should allow to diagnose the cases when process just ran out of memory

This should allow *us* the cases when *the* process ran out of memory

> +        and hence V8 faild to allocate more OS pages.

and hence V8 *failed* to allocate more OS pages.
Comment 3 anton muhin 2010-08-03 10:55:40 PDT
Created attachment 63352 [details]
Better English
Comment 4 anton muhin 2010-08-03 10:57:23 PDT
Comment on attachment 63352 [details]
Better English

Thank you very much, Levin.

cq+'ing
Comment 5 anton muhin 2010-08-03 11:14:14 PDT
Comment on attachment 63352 [details]
Better English

Removing cq+ as per David's suggestion
Comment 6 anton muhin 2010-08-03 11:47:43 PDT
Committed manually.  Closing the bug.