• Home
Name Date Size #Lines LOC

..--

READMED03-May-20241.1 KiB3221

SConstructD03-May-20242.1 KiB4339

oom_dump.ccD03-May-20249.3 KiB289207

README

1oom_dump extracts useful information from Google Chrome OOM minidumps.
2
3To build one needs a google-breakpad checkout
4(http://code.google.com/p/google-breakpad/).
5
6First, one needs to build and install breakpad itself. For instructions
7check google-breakpad, but currently it's as easy as:
8
9  ./configure
10  make
11  sudo make install
12
13(the catch: breakpad installs .so into /usr/local/lib, so you might
14need some additional tweaking to make it discoverable, for example,
15put a soft link into /usr/lib directory).
16
17Next step is to build v8.  Note: you should build x64 version of v8,
18if you're on 64-bit platform, otherwise you would get a link error when
19building oom_dump.
20
21The last step is to build oom_dump itself.  The following command should work:
22
23  cd <v8 working copy>/tools/oom_dump
24  scons BREAKPAD_DIR=<path to google-breakpad working copy>
25
26(Additionally you can control v8 working copy dir, but the default should work.)
27
28If everything goes fine, oom_dump <path to minidump> should print
29some useful information about the OOM crash.
30
31Note: currently only 32-bit Windows minidumps are supported.
32