Bug 43426 - [v8] Get current memory usage and make it available on stack before crashing due to out of memory
Summary: [v8] Get current memory usage and make it available on stack before crashing ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: anton muhin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 09:19 PDT by anton muhin
Modified: 2010-08-03 11:47 PDT (History)
0 users

See Also:


Attachments
Patch (1.59 KB, patch)
2010-08-03 09:26 PDT, anton muhin
no flags Details | Formatted Diff | Diff
Better English (1.60 KB, patch)
2010-08-03 10:55 PDT, anton muhin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.