Index: components/crash/content/app/crashpad_win.cc |
diff --git a/components/crash/content/app/crashpad_win.cc b/components/crash/content/app/crashpad_win.cc |
index 7f00fe0b5e4c98b2035bc40e3b5963d3a3a94644..b08b8057baa5dd4187c2e5d0eb9cb9e51d3c3b9d 100644 |
--- a/components/crash/content/app/crashpad_win.cc |
+++ b/components/crash/content/app/crashpad_win.cc |
@@ -84,9 +84,10 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, |
bool is_per_user_install = |
crash_reporter_client->GetIsPerUserInstall(exe_file); |
if (crash_reporter_client->GetShouldDumpLargerDumps(is_per_user_install)) { |
+ const uint32_t kIndirectMemoryLimit = 4 * 1024 * 1024; |
crashpad::CrashpadInfo::GetCrashpadInfo() |
->set_gather_indirectly_referenced_memory( |
- crashpad::TriState::kEnabled); |
+ crashpad::TriState::kEnabled, kIndirectMemoryLimit); |
} |
// If the handler is embedded in the binary (e.g. chrome, setup), we |