summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_discardable__memory_service_discardable__shared__memory__manager.cc
blob: 3cf12b8ef80a24601d0b52fc2ed843f2f335c1c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/discardable_memory/service/discardable_shared_memory_manager.cc.orig	2022-10-01 07:40:07 UTC
+++ components/discardable_memory/service/discardable_shared_memory_manager.cc
@@ -171,7 +171,7 @@ uint64_t GetDefaultMemoryLimit() {
   // Limits the number of FDs used to 32, assuming a 4MB allocation size.
   uint64_t max_default_memory_limit = 128 * kMegabyte;
 #else
-  uint64_t max_default_memory_limit = 512 * kMegabyte;
+  uint64_t max_default_memory_limit = 128 * kMegabyte;
 #endif
 
   // Use 1/8th of discardable memory on low-end devices.