mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +00:00
romfs: revert memory usage increases; we'll handle torture games case-by-case.
This commit is contained in:
parent
efe7b63576
commit
94f69276cd
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ namespace ams {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
/* TODO: we really shouldn't be using malloc just to avoid dealing with real allocator separation. */
|
/* TODO: we really shouldn't be using malloc just to avoid dealing with real allocator separation. */
|
||||||
constexpr size_t MallocBufferSize = 32_MB;
|
constexpr size_t MallocBufferSize = 16_MB;
|
||||||
alignas(os::MemoryPageSize) constinit u8 g_malloc_buffer[MallocBufferSize];
|
alignas(os::MemoryPageSize) constinit u8 g_malloc_buffer[MallocBufferSize];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace ams::pm::resource {
|
||||||
constexpr size_t ReservedMemorySize600 = 5_MB;
|
constexpr size_t ReservedMemorySize600 = 5_MB;
|
||||||
|
|
||||||
/* Atmosphere always allocates extra memory for system usage. */
|
/* Atmosphere always allocates extra memory for system usage. */
|
||||||
constexpr size_t ExtraSystemMemorySizeAtmosphere = 32_MB;
|
constexpr size_t ExtraSystemMemorySizeAtmosphere = 24_MB;
|
||||||
|
|
||||||
/* Desired extra threads. */
|
/* Desired extra threads. */
|
||||||
constexpr u64 BaseApplicationThreads = 96;
|
constexpr u64 BaseApplicationThreads = 96;
|
||||||
|
|
Loading…
Reference in a new issue