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)
请先登录再写评论。
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.
Guess not so soon, snapshots can't be opened
7:34 PM Error during processing snapshot: End of input at line 508997 column 15
The same file can be opened by Chrome.
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?
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.