Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

How to allocate more memory to the nodejs connector ? #23

Open
rbecheras opened this issue Nov 28, 2016 · 0 comments
Open

How to allocate more memory to the nodejs connector ? #23

rbecheras opened this issue Nov 28, 2016 · 0 comments

Comments

@rbecheras
Copy link

I would want to use the NodeJS connection to be able to evaluate my NodeJS web server application, but it seems the process doesn't have enough allocated memory to be run.

My application lauch, the app starting logs output as they have to (server.js[stdout]), but a few seconds later the process crash (server.js[stderr]):

server.js[stdout]:
ENVIRONEMENT: development

server.js[stdout]:
Application run by node@v4.0.0

server.js[stdout]:
Application loaded using the "development" environment configuration

server.js[stderr]:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

<--- Last few GCs --->

   15494 ms: Mark-sweep 936.1 (1018.7) -> 923.1 (1021.7) MB, 710.1 / 0 ms [allocation failure] [GC in old space requested].
   16167 ms: Mark-sweep 935.8 (1021.7) -> 923.1 (1021.7) MB, 672.8 / 0 ms [allocation failure] [GC in old space requested].
   16923 ms: Mark-sweep 935.8 (1021.7) -> 923.0 (1020.7) MB, 732.6 / 0 ms [last resort gc].
   17611 ms: Mark-sweep 923.0 (1020.7) -> 922.9 (1020.7) MB, 688.0 / 0 ms [last resort gc].


<--- JS stacktrace --->

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

Security context: 0x3fbf90037339 <JS Object>
    1: createContext [vm.js:~27] [pc=0x3d4af1976fee] (this=0x3f3f4dd185f9 <an Object with map 0x379014624189>,sandbox=0x1d8575ff0ae9 <an Object with map 0x1b5b0eadb509>)
    2: context(aka context) [/mnt/storage/softwares/lighttable-0.8.1-linux/resources/app/plugins/Javascript/node/ltnodeclient.js:54] [pc=0x3d4ad7b3db4a] (this=0x3fbf90004131 <undefined>,path=0x1d8575ff09e9 <String[85]: /mnt/sto...

How can I allocate more memory to the process ? Is it even possible ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant