failed to deploy node js application

abda1rahman
TRIAL

a year ago

i run node js on local computer work fine but now i get wired error i didn't understand what happed now
why i get this error

Error message :

> voice-application@1.0.0 start

> npm run build && cross-env NODE_ENV=production node ./dist/src/app.js

> voice-application@1.0.0 build

> npx tsc

<--- Last few GCs --->

[44:0x79a7000] 13806 ms: Mark-Compact 252.0 (258.6) -> 251.3 (258.9) MB, pooled: 0 MB, 425.91 / 0.00 ms (average mu = 0.075, current mu = 0.024) allocation failure; scavenge might not succeed

[44:0x79a7000] 14290 ms: Mark-Compact 252.3 (258.9) -> 251.5 (259.1) MB, pooled: 0 MB, 470.62 / 0.00 ms (average mu = 0.050, current mu = 0.027) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

----- Native stack trace -----

1: 0xe2f0f2 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]

2: 0x1240cf0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, v8::OOMDetails const&) [node]

3: 0x1240fc7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, v8::OOMDetails const&) [node]

4: 0x1470715 [node]

5: 0x1470743 [node]

6: 0x14897fa [node]

7: 0x148c9c8 [node]

8: 0x1e25421 [node]

Aborted (core dumped)

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies