diff --git a/src/app/main.cpp b/src/app/main.cpp index 37ab3633196..73b6a003514 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -443,6 +443,12 @@ void startCrashpad(const AppInfo &appInfo, bool crashReportingEnabled) annotations["sha1"] = Core::Constants::IDE_REVISION_STR; #endif + if (HostOsInfo::isWindowsHost()) { + // reduces the size of crash reports, which can be large on Windows + CrashpadInfo::GetCrashpadInfo() + ->set_gather_indirectly_referenced_memory(crashpad::TriState::kEnabled, 0); + } + // Optional arguments to pass to the handler std::vector arguments; arguments.push_back("--no-rate-limit");