mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Switch over to rpmalloc instead of jemalloc.
rpmalloc is currently very aggressively configured which causes significant reductions in resident memory over jemalloc. In Bayonetta's title screen it went from 963MB down to 834MB resident.
This commit is contained in:
11 files changed
+232
-96
No files matched your search
@@ -154,8 +154,9 @@ GenerateSingleCache(const FEXCore::ExecutableFileInfo& Binary, fextl::set<uintpt
|
||||
}
|
||||
|
||||
if (!Is64Bit) {
|
||||
const auto PageSize = sysconf(_SC_PAGESIZE);
|
||||
// Block upper address space
|
||||
FEXCore::Allocator::SetupHooks();
|
||||
FEXCore::Allocator::SetupHooks(PageSize > 0 ? PageSize : FEXCore::Utils::FEX_PAGE_SIZE);
|
||||
}
|
||||
|
||||
auto Thread = SetupCompileThread(*CTX, Is64Bit);
|
||||
|
||||
Reference in new issue
Block a user