Skip to content
New issue

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

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

Open
iSanjayAchar opened this issue Jun 25, 2019 · 0 comments

Comments

@iSanjayAchar
Copy link

There seem to be an issue when the from minute is between 1 & 4 (Example: 10:01 or 13:04)

<--- Last few GCs --->

[1565:0x103000000]   112575 ms: Mark-sweep 1303.7 (1398.3) -> 1303.4 (1398.3) MB, 930.6 / 0.0 ms  allocation failure GC in old space requested
[1565:0x103000000]   113567 ms: Mark-sweep 1303.4 (1398.3) -> 1303.3 (1336.3) MB, 991.7 / 0.0 ms  last resort GC in old space requested
[1565:0x103000000]   114504 ms: Mark-sweep 1303.3 (1336.3) -> 1303.3 (1332.3) MB, 936.7 / 0.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x3e7ab63a5879 <JSObject>
    1: getAvailability [/Users/isanjayachar/mobilean/il9m/node-user/node_modules/@ssense/sscheduler/dist/Scheduler.js:~306] [pc=0x2553b7041b9a](this=0x3e7ae3a4ef19 <Scheduler map = 0x3e7a87d919d9>,p=0x3e7a5d009d09 <Object map = 0x3e7a87dd36c1>)
    2: /* anonymous */(aka /* anonymous */) [/Users/isanjayachar/mobilean/il9m/node-user/src/services/doctor/availability.service.js:128] [bytecode=0x3e7...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 4: v8::internal::Factory::NewUninitializedFixedArray(int) [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 5: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::GrowCapacity(v8::internal::Handle<v8::internal::JSObject>, unsigned int) [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 6: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/isanjayachar/.nvm/versions/node/v8.12.0/bin/node]
 7: 0x2553b6f042fd
{ 
  from: '2019-06-25',
  to: '2019-06-26',
  duration: 15,
  interval: 15,
  schedule:  {
     tuesday: { from: '00:01', to: '23:50' } 
  } 
}

Steps to reproduce

  1. Use the above object as param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant