#Vercel FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

5 messages · Page 1 of 1 (latest)

lean patrol
#

Has anyone encountered this error yet, running the latest version of PayloadCMS V3 (on beta it was the same) along with MongoDB on Atlas Cloud free tier ? - Vercel with Vercel Blob - 8th page is 'admin'

   Linting and checking validity of types ...
   Collecting page data ...
   Generating static pages (0/18) ...
   Generating static pages (4/18) 
   Generating static pages (8/18) 
<--- Last few GCs --->
[771:0x6783640]    31910 ms: Mark-Compact (reduce) 2045.3 (2083.9) -> 2044.9 (2084.4) MB, 1416.70 / 0.00 ms  (average mu = 0.103, current mu = 0.004) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
 1: 0xb8d0a3 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/node20/bin/node]
 2: 0xf06250 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/node20/bin/node]
 3: 0xf06537 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/node20/bin/node]
 4: 0x11180d5  [/node20/bin/node]
 5: 0x112ff58 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/node20/bin/node]
 6: 0x1106071 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/node20/bin/node]
 7: 0x1107205 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/node20/bin/node]
 8: 0x10e4856 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/node20/bin/node]
 9: 0x1540686 
split zephyrBOT
robust nymph
#

Hey, yeah I'm getting this today. Building fine locally

robust nymph
#

Project in question is still on Payload 2

dapper drum
#

hi. i get same error now. how do you solve it?