Skip to content

CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #25

@tameeshB

Description

@tameeshB

[nodemon] app crashed - waiting for file changes before starting...
[nodemon] restarting due to changes...
[nodemon] starting node server.js
The magic happens on port 3000

<--- Last few GCs --->

23540 ms: Mark-sweep 1392.8 (1439.0) -> 1392.7 (1439.0) MB, 1270.9 / 0.0 ms [allocation failure] [GC in old space requested].
24798 ms: Mark-sweep 1392.7 (1439.0) -> 1392.7 (1439.0) MB, 1257.1 / 0.0 ms [allocation failure] [GC in old space requested].
26044 ms: Mark-sweep 1392.7 (1439.0) -> 1392.7 (1423.0) MB, 1246.1 / 0.0 ms [last resort gc].
27289 ms: Mark-sweep 1392.7 (1423.0) -> 1392.7 (1423.0) MB, 1244.6 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

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

Security context: 0x1ecbd793fa99
1: new constructor(aka Cursor) [/Library/WebServer/Documents/socketchat/node_modules/mongojs/lib/cursor.js:~5] [pc=0x3a15d1157c21] (this=0x1456eecf43a1 <a Cursor with map 0x350f6432b0e1>,getCursor=0x3719dc97ab91 <JS Function getCursor (SharedFunctionInfo 0x755c7757949)>)
3: find [/Library/WebServer/Documents/socketchat/node_modules/mongojs/lib/collection.js:~25] [pc=0x3a15d115554e] (thi...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/local/bin/node]
2: node::FatalException(v8::Isolate*, v8::Localv8::Value, v8::Localv8::Message) [/usr/local/bin/node]
3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
4: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
5: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
6: 0x3a15d0c062bf
7: 0x3a15d1157c21
8: 0x3a15d0c1e7b2
[nodemon] app crashed - waiting for file changes before starting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions