-
Notifications
You must be signed in to change notification settings - Fork 201
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
Application insight profiler is not triggering for memory. No JFR report has been seen for memory. #3100
Comments
cc @johnoliver |
Any update? |
@Sachin1O1 its difficult to say without details, the best detail here would be a GC log, or a JFR file with the GC events included from a process that could allow us to confirm that your memory is over the threshold. But some common issues could be:
If you can provide a gc log we can hopefully confirm that you are performing tenured garbage collections, and after the garbage collection is complete that your tenured occupancy is over the threshold. |
HI @johnoliver, But I had an observation earlier that when the profiler trigger either for CPU or memory it shows the usage of other resources while it is triggered. for example, if the profiler triggers for cpu at 90% in the report it also shows the value for memory usage at 40% but now it shows 0 as you can refer to the snap that I shared above in the issue. Please check this. |
There might be a bug in the profiling trigger for memory, but I am not aware of one, and would need to see what the output of a tenured garbage collection looks like to confirm. There is a bug we have where generally we only show the percentage of the resource that triggered the profile, and 0 for the other value. This is an issue that architecturally is difficult to work around, but is a known bug that we have. I will re-take a look at this to see if we can fix this |
is there any updates. I am also facing same issue for container apps. |
@Rohi-spark, are you able to confirm if:
|
Expected behavior
The profiler should trigger when the memory threshold is achieved and jfr report should be generated for memory.
Actual behavior
No JFR report is generated for memory.
To Reproduce
Submitting a PR with an example reproducing the issue in this repository would make it easier for the Application Insight maintainers to help you. Before doing this, you have to fork this repository.
System information
Please provide the following information:
Logs
Turn on SDK logs and attach/paste them to the issue. If using an application server, also attach any relevant server logs.
Be sure to remove any private information from the logs before posting!
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: