a year ago
Since today at 00:00 CET heap limit allocation failed.
No new code has been commited.
I have my memory by nodd limited at 500mb, but after removing this issue appears same way.
Trace:
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/e1a28fb2-0bce-4428-9bbd-e7d635dcef40/vol_5hj1gm65y4hwwc03
<--- Last few GCs --->
[15:0x2f8cd50] 301483 ms: Scavenge (reduce) 490.5 (500.1) -> 489.6 (500.3) MB, 46.1 / 0.0 ms (average mu = 0.594, current mu = 0.425) allocation failure;
[15:0x2f8cd50] 301769 ms: Mark-sweep (reduce) 524.4 (533.9) -> 523.4 (533.4) MB, 159.9 / 0.0 ms (+ 254.8 ms in 47 steps since start of marking, biggest step 16.4 ms, walltime since start of marking 529 ms) (average mu = 0.483, current mu = 0.358) alloc
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xaea8e8 node::Abort() [node]
2: 0x9ad387 [node]
3: 0xd019e0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
4: 0xd01dbb v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node]
5: 0xef9485 [node]
25 Replies
a year ago
did you upgrade to Hobby?
a year ago
is your app trying to use more than 8gb of memory?
a year ago
I wouldn't have any way to answer that unfortunately
a year ago
kinda like asking your power company why you have used more power, they wouldn't know why
a year ago
what do the metrics say?
Then it is very strange…
The issue seems to be when mounting the volume as my log above
a year ago
that's a platform level message, nothing to do with what your app prints
a year ago
you won't receive that mount message if you aren't mounting a volume
a year ago
try setting a service variable - NODE_OPTIONS=--max-old-space-size=4096
Actually I already had it as 500. My app does not use more than 300mb never
a year ago
looks like it crashes right after - AEE875 Using flight time to calculate ETA
a year ago
yeah this is an application level issue and we have no observability into what your code does or doesnt do
a year ago
!s
Status changed to Solved brody • about 1 year ago