RecomputeLimits crashes on Android

20 views
Skip to first unread message

Mati Cohen

unread,
Dec 3, 2025, 10:03:21 AMDec 3
to v8-users
Hey,

After building 14.0.365.4, my app is now experiencing some FatalProcessOutOfMemory when recomputing limits.

Here is the stack trace

#00 pc 0x1327140 (v8::base::OS::Abort())
#01 pc 0x132a898 (v8::base::FatalOOM(v8::base::OOMType, char const*))
#02 pc 0x1337790 (v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&))
#03 pc 0x15147fc (v8::internal::Heap::FatalProcessOutOfMemory(char const*))
#04 pc 0x1517b6c (v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector, v8::base::TimeTicks))
#05 pc 0x152e484 (v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags, v8::internal::PerformHeapLimitCheck)::$_1::operator()() const)
#06 pc 0x152ddc0 (void heap::base::Stack::SetMarkerAndCallbackImpl<v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags, v8::internal::PerformHeapLimitCheck)::$_1>(heap::base::Stack*, void*, void const*))
#07 pc 0x1e15700 (PushAllRegistersAndIterateStack)

I had to build with cppgc_enable_pointer_compression and cppgc_enable_caged_heap set to false due to crashes when reserving space for pointer compression cage for Oilpan.

Any insight? Thanks!

Ben Noordhuis

unread,
Dec 5, 2025, 1:16:49 PMDec 5
to v8-u...@googlegroups.com
What was the error message? If it's "Ineffective mark-compacts near
heap limit", add a NearHeapLimitCallback that increases the heap
limit.

Mati Cohen

unread,
Dec 8, 2025, 4:21:07 PMDec 8
to v8-users

Thanks, I will try that
Reply all
Reply to author
Forward
0 new messages