Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,10 @@ std::unique_ptr<JSRuntime> HermesInstance::createJSRuntime(

auto gcConfig = ::hermes::vm::GCConfig::Builder()
// Default to 3GB
.withInitHeapSize(150ll * 1024 * 1024)
.withShouldReleaseUnused(::hermes::vm::kReleaseUnusedNone)
.withMaxHeapSize(3072 << 20)
.withName("RNBridgeless");

if (true || allocInOldGenBeforeTTI) {
if (allocInOldGenBeforeTTI) {
// For the next two arguments: avoid GC before TTI
// by initializing the runtime to allocate directly
// in the old generation, but revert to normal
Expand Down
Loading