-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ng-messages eats all memory and crashes after removeMessageNode call #13627
Comments
UPD: not 'propably' but 'definitely'. After removing ng-transclude sublevel, the error is gone. Anyway it is something which should never happen. |
Can you please create a minimal demo that reproduces the problem? |
Closing due to lack of feedback and minimal demo. |
I can confirm I'm also seeing something very similar - but I can't pin down why it's happening. I've attempted a minimal demo, but without knowing the specific combination of factors, it's like looking for a needle in a haystack. I do however have a production website exhibiting this behaviour I can point a someone to for easy replication! |
This sounds pretty much like the bug that was fixed in #14242. |
The fix is not yet in a 1.4 release, though. |
Exactly - upgrading to 1.5 and confirming the bug is gone probably isn't a great test. Is there a chance of backporting the fix to 1.4? Crashing the browser seems pretty significant. |
@silver2k, it has been backported to the |
1.4.11 is available! |
|
Just in case it helps anyone else. I had some sort of issue with ng-messages and out of memory errors in firefox and chrome. I watched using the firefox profiler and came to the realization it had something to do with ng-messages. I was using angular and angular-messages 1.4.9 and moved to 1.4.11 and the issue was gone. |
Thx for confirming, @sswayney. |
Hi,
Please see the attached picture. Immediately after current line is invoked two elements in the message list start to link to each other which results in that the page eats all available memory and crashes in 5 seconds.
Probably the reason is that the node tree is as is:
Version: 1.4.8
The text was updated successfully, but these errors were encountered: