-
Notifications
You must be signed in to change notification settings - Fork 239
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
[BUG] - CRITICAL - Application runs out of memory #2235
Comments
Ping requests are only sent (by default) as part of the page unload state (user is navigating away in some form -- which includes switching to another tab), as part of some changes (which we have been using internally for years) we are attempting to "flush" as many events as possible to ensure that all of your requested events can be sent. When we do this we are limited to using either There are a couple of additional configurations that you can add to "stop" this behavior and thus avoid the
@Karlie-777 can you have another look and see if we have any additional edge cases that are not being addressed @mmonteiroc Can you also please check your lock file to ensure that you are using at least v 3.0.7 as there was a bug in 3.0.5 which caused the exact behavior you are having (see https://github.com/microsoft/ApplicationInsights-JS/blob/release-3.0/RELEASES.md). You can also see the SDK version number in the outbound JSON content of the track call |
@MSNev I believe we are indeed using the v 3.0.7 |
@MSNev thanks for the "work-around" while you investigate this. If it helps, we started noticing this issue since almost 1 month now :) |
@MSNev I just re-checked and actually in prod we have the v3.0.5 I will do a prod update ASAP to put the v3.0.7 and verify if this error still happens. Sorry for that, I will keep you updated. |
NP - That makes sense as @Karlie-777 was having difficulties trying to reproduce your issue with v 3.0.7 |
Is the Azure Maps SDK pinned to a specific version of Application Insights? If not clear your lock file and force it to update to the latest version (3.0.7). If not please raise an issue on them to move to the latest version. |
Description/Screenshot
We have discovered recently a memory crash in our production application. In this case, we found out that happens whenever the track calls that application insights does automatically fail with a 400 ( not much we can do / fix in our side for this, as is your SDK who is doing the wrong request ).
When this happen, your SDK does a massive amount of retries which causes our app to freeze and eventually throw a popo up saying that the page is blocked.
We have checked the configuration parameters to see if we can disable this retry, and we found out that we can but only when it fails with some specific response errors.
I put CRITICAL in the header, because this happened to us in production, and I guess it can happen to any other user of this library as well.
Steps to Reproduce
Expected behavior
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: