We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsc default create 128M MemoryPoolSize on arm64,in JavaScriptCore\jit\ExecutableAllocator.cpp,this to big and may cause oom on old android device
JavaScriptCore\jit\ExecutableAllocator.cpp
#if defined(FIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB) && FIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB > 0 static const size_t fixedExecutableMemoryPoolSize = FIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB * 1024 * 1024; #elif CPU(ARM) static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024; #elif CPU(ARM64) static const size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024; #elif CPU(X86_64) static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; #else static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; #endif
version v250230.2.1
The text was updated successfully, but these errors were encountered:
can i use
JSC::Options::jitMemoryReservationSize()
to change the default jit memory?
Sorry, something went wrong.
I found that we can set environment variables to set default values of JSC::Options
Os.setenv("JSC_jitMemoryReservationSize", "16777216", true);
No branches or pull requests
Issue Description
jsc default create 128M MemoryPoolSize on arm64,in
JavaScriptCore\jit\ExecutableAllocator.cpp
,this to big and may cause oom on old android deviceVersion, config, any additional info
version v250230.2.1
The text was updated successfully, but these errors were encountered: