-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue for Feedback on Diagnostic report #280
Comments
Can I recommend using nodejs/node#26293? The topics are related and it will be easier to keep all discussion in one place. |
@cjihrig to me they have different audiences. I do agree that feedback from people using the tool should inform #26293 but I'm worried that having that as the topic might be confusing for people that come to comment. |
When the nodejs process encounters an "out of memory" exception, it would be nice if the report could still capture the javastack. Maybe by reserving a small part of the memory specifically for the purpose of error reporting. This part of the memory would not be accessible for the regular application, and can only be used by the nodejs core error handling code. But i can imagine the technical implementation of this would be quite hard. |
@bertyhell interestingly we had a discussion on this topic last week at the Diagnostic Report at NodeConfEU last week. One of the points made was that the stack trace when you run out of memory is not necessarily related to where memory is being use most heavily... There is a sampling profiler and having it enabled at a level that is acceptable performance wise and including that in the diagnostic report might be more helpful. We did also discuss exploring reserving memory as you mention, but as you say there will likely be some challenges with that. @gireeshpunathil FYI. |
IIRC it was @bertyhell himself who raised this at NodeConfEU cases where call stack is useless / irrelevant / misleading
cases where call stack helps proper PD:
I will take it up; thanks! |
the report is now stable in core, so closing. pls open feature requests if you have an improvement suggestion, or a bug report if there an issue. |
Since Diagnostic report has been recently added to core I think it is good to have an issue where people can post feedback on it's use. Opening this issue for that purpose. @gireeshpunathil will be putting out a blog post that talks about Diagnostic report and will mention this issue as one place to provide feedback.
The text was updated successfully, but these errors were encountered: