1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-09 13:41:43 +00:00

kern/pm: only steal 8 MB from applet.

WebApplet crashes on exit with 16 more MB stolen, apparently.
This commit is contained in:
Michael Scire 2023-01-24 19:54:28 -07:00
parent 32b590e7ab
commit 7a69f2f062
2 changed files with 2 additions and 2 deletions

View file

@ -361,7 +361,7 @@ namespace ams::kern::board::nintendo::nx {
}();
/* Return (possibly) adjusted size. */
constexpr size_t ExtraSystemMemoryForAtmosphere = 56_MB;
constexpr size_t ExtraSystemMemoryForAtmosphere = 48_MB;
return base_pool_size - ExtraSystemMemoryForAtmosphere - KTraceBufferSize;
}

View file

@ -33,7 +33,7 @@ namespace ams::pm::resource {
constexpr size_t ReservedMemorySize600 = 5_MB;
/* Atmosphere always allocates extra memory for system usage. */
constexpr size_t ExtraSystemMemorySizeAtmosphere = 40_MB;
constexpr size_t ExtraSystemMemorySizeAtmosphere = 32_MB;
/* Desired extra threads. */
constexpr u64 BaseApplicationThreads = 96;