ie11 crash in angular application with message of memory issue

313 views
Skip to first unread message

David Michael Gang

unread,
Nov 17, 2016, 10:06:03 AM11/17/16
to Angular
Hi all,

I have an angular application (with  ng-forward) with a search box and search results. On all browsers except ie11 everything works fine.  If i make a couple of searches, in ie11 the pplication crashes with a lot of error messages
The first message is 
Error: Out of memory <button class="section-title md-button" aria-label="{{::('facets.facet.facet_'+ ctrl.facetGroup.name | translate)}}" type="button" ng-class="{'collapsed': ctrl.facetGroup.facetGroupCollapsed}" layout-fill="" (click)="ctrl.facetGroup.facetGroupCollapsed = !ctrl.facetGroup.facetGroupCollapsed" ng-transclude="" translate-attr-title="{{ctrl.facetGroup.facetGroupCollapsed ? 'nui.facets.expand.tooltip' :'nui.facets.collapse.tooltip'}}">

Afterwards i have lots of unknown provider errors.

As I attached in the screenshot, the memory usage is not high at all.
Does anyone have a clue why this happens?
Did anyone experience such an error with an ie11 app?

Thanks,
David

Capture.PNG

Sander Elias

unread,
Nov 18, 2016, 11:34:47 PM11/18/16
to Angular
Hi David,

Can you make a sample that reproduces this scenario? Preferably one that can run on its own, without any dependencies. 

Regards
Sander 

David Michael Gang

unread,
Nov 21, 2016, 9:46:37 AM11/21/16
to Angular
Hi,

It looks like the problem is in the ng-forward part of the program.
The problem is that it is not maintained anymore.
Thanks,
David

--
You received this message because you are subscribed to a topic in the Google Groups "Angular" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/1N1yNR9myvc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Sander Elias

unread,
Nov 21, 2016, 10:48:42 AM11/21/16
to Angular
Hi David,

Perhaps you can switch to ngMetadata. For myself, I have no real experience with either of those. If you have used one of them to its full extent, perhaps you can even port the application to 2 easily? (that is the idea of both projects, right ;) )

Regards
Sander


David Michael Gang

unread,
Nov 21, 2016, 1:24:31 PM11/21/16
to ang...@googlegroups.com
Hi Elias,
You are right
I would like to switch to angular 2 but cannot because the program is written with angular material . Am2 is far from being production ready.
I will try to fix somehow the problem .
If this does not work I will switch either to ngmetadata or plain angular components 
Thanks
David
--
You received this message because you are subscribed to a topic in the Google Groups "Angular" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/1N1yNR9myvc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+unsubscribe@googlegroups.com.

David Michael Gang

unread,
Nov 24, 2016, 4:03:58 AM11/24/16
to ang...@googlegroups.com
Hi all,

I pinpoined the problem.
It is connected to the core-js polyfill of Symbols. 

This defect is unfortunately unfixable.

I wonder if angular2 could also suffer from this defect.

Thanks,
David


On Mon, Nov 21, 2016 at 8:24 PM David Michael Gang <micha...@gmail.com> wrote:
Hi Elias,
You are right
I would like to switch to angular 2 but cannot because the program is written with angular material . Am2 is far from being production ready.
I will try to fix somehow the problem .
If this does not work I will switch either to ngmetadata or plain angular components 
Thanks
David


On Monday, November 21, 2016, Sander Elias <sande...@gmail.com> wrote:
Hi David,

Perhaps you can switch to ngMetadata. For myself, I have no real experience with either of those. If you have used one of them to its full extent, perhaps you can even port the application to 2 easily? (that is the idea of both projects, right ;) )

Regards
Sander


--
You received this message because you are subscribed to a topic in the Google Groups "Angular" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/1N1yNR9myvc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.

Sander Elias

unread,
Nov 24, 2016, 6:28:39 AM11/24/16
to Angular
Hi David,

Good catch! I'm not entirely sure Angular 2 does not use symbols, but I think they are rare at least. So it should be a less pertinent problem.
Also, do you really need IE11? Did you measure what part of your audience is using it? You might be surprised ;) For my own projects I was able to ditch IE long ago, but I know that's not possible for all developers.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages