Cannot open V8 memory dump

I am trying to analyze a V8 memory dump. I have installed the v8-profiler, configured the run config. When I click the dump button Idea spends some time with a dialog indicating its taking the snapshot and compressing. But there is no indication as to where the file got saved. Some of the docs mention a log directory field but I have no such field. There is a field for the log folder for the cpu profiling. But the heap viewer won't open those files.

What am I missing?

(IDEA 16 latest)

0
5 comments

Hmm, looks like I might have been taking a heap snapshot of idea itself. I found a button on the run view, and that created a V8 dump.

0

Guess not so soon, snapshots can't be opened


7:34 PM Error during processing snapshot: End of input at line 508997 column 15

0

The same file can be opened by Chrome.

0

please can you record a screencast that shows your steps and the issue and attach it along with your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)? What Node.js version do you use?

0

This may have been a decoy. I got the error a few times, but then noticed the v8 view was open in Idea. Now I works fine consistently. So this must be user error. Sorry.

0

Please sign in to leave a comment.