why the nodejs 16 generate heap dump file size is 0 #50076
Replies: 2 comments
-
Most likely explanation is that you terminated the process before it was done writing out the snapshot. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Node.js v16 has reached EoL, so I've closed this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to generate a dump snapshot of the nodejs(
v16.20.2
) application. My application was running in docker and mounted the nas path/opt/data
. First add the dump function follow this tutorial https://dev.to/bengl/node-js-heap-dumps-in-2021-5akm like this:then invoke this function by send a http request. everything works fine, the dump was generated in the path, but now I found the dump file size is 0:
Am I missing something? What should I do to fixed this issue?
Beta Was this translation helpful? Give feedback.
All reactions