FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory


#1

When I run my app (already the build version) it runs with 100+% CPU and I am getting this error can you help me with this please?

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 2: 0x12190dc [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 5: v8::internal::Factory::NewStruct(v8::internal::InstanceType) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 6: v8::internal::Factory::NewTuple3(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 7: v8::internal::StoreIC::StoreTransition(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 8: v8::internal::StoreIC::GetMapIndependentHandler(v8::internal::LookupIterator*) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
 9: v8::internal::IC::ComputeHandler(v8::internal::LookupIterator*) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
10: v8::internal::StoreIC::UpdateCaches(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
11: v8::internal::StoreIC::Store(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
12: v8::internal::KeyedStoreIC::Store(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
13: v8::internal::Runtime_KeyedStoreIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) [node /home/app/unbundled/built/p3001/1.10.0/bundle/v1.10.0atp3001.js]
14: 0x299ebe38463d

#2

Related to this ? https://github.com/meteor/meteor/issues/9430


#3

did you find a fix for this ? i am also getting the same error, but this is after deploying. happens only after some time (after 12hours sometimes) and shuts down my app.


#4

Yes, I posted solution here