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

Memmory pressure error #50

Closed
joskfg opened this issue Feb 28, 2021 · 2 comments
Closed

Memmory pressure error #50

joskfg opened this issue Feb 28, 2021 · 2 comments

Comments

@joskfg
Copy link

joskfg commented Feb 28, 2021

I'm getting this error when trying to generate the map

Connecting to MQTT broker...
Connected to MQTT broker.
Drawing map...
<--- Last few GCs --->
[261:0x75ff5780]    12801 ms: Mark-sweep (reduce) 6.3 (8.8) -> 6.1 (8.3) MB, 125.9 / 0.1 ms  (average mu = 0.747, current mu = 0.001) external memory pressure GC in old space requested
[261:0x75ff5780]    12887 ms: Mark-sweep (reduce) 6.1 (7.8) -> 6.1 (8.0) MB, 86.1 / 0.0 ms  (average mu = 0.603, current mu = 0.001) external memory pressure GC in old space requested
<--- JS stacktrace --->
FATAL ERROR: v8::ArrayBuffer::New Allocation failed - process out of memory
@Hypfer
Copy link
Owner

Hypfer commented Mar 31, 2021

Is this still an issue?

@Hypfer Hypfer closed this as completed Nov 10, 2021
@BOFH90
Copy link

BOFH90 commented Feb 15, 2022

I got the same Problem:
[2022-02-15T10:13:09.607Z] [INFO] Loading configuration file: /app/config.json
[2022-02-15T10:13:09.654Z] [INFO] Connecting to MQTT broker...
[2022-02-15T10:13:09.663Z] [INFO] Webserver running on port 3003
[2022-02-15T10:13:09.686Z] [INFO] Connected to MQTT broker.
[2022-02-15T10:13:19.657Z] [INFO] Drawing map...

<--- Last few GCs --->

[19:0x5045a90] 10315 ms: Mark-sweep (reduce) 12.6 (16.0) -> 12.4 (15.8) MB, 20.3 / 0.0 ms (average mu = 0.993, current mu = 0.003) external memory pressure GC in old space requested
[19:0x5045a90] 10334 ms: Mark-sweep (reduce) 12.4 (14.8) -> 12.3 (15.3) MB, 18.9 / 0.0 ms (average mu = 0.986, current mu = 0.002) external memory pressure GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: v8::ArrayBuffer::New Allocation failed - process out of memory
1: 0xa24ed0 node::Abort() [node]
2: 0x966115 node::FatalError(char const*, char const*) [node]
3: 0xb9acde v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xb9b057 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xb9b13b [node]
6: 0xbb770d v8::ArrayBuffer::New(v8::Isolate*, unsigned long) [node]
7: 0x7fdc904e94f5 Context2d::CreateImageData(Nan::FunctionCallbackInfov8::Value const&) [/app/node_modules/canvas/build/Release/canvas.node]
8: 0x7fdc904e1dc8 [/app/node_modules/canvas/build/Release/canvas.node]
9: 0xc06acb [node]
10: 0xc08076 [node]
11: 0xc086f6 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x1427179 [node]
Aborted (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! i-cant-believe-its-not-valetudo@2021.6.0 start: node app.js
npm ERR! Exit status 134

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

3 participants