Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http 'GET' memory leak (NOT!)--number of listeners (AngularJS v.1.4.7/8) #13716

@momoadeli

Description

@momoadeli

(issue closed. This is a Chromium feature and not an AJS bug)
(simple example in plunkr: https://plnkr.co/edit/SRRzUUshGYuxhCnw2B33. Screen shot of 'listener leak' in debugger attached below. AngularJS v.1.4.7/8. Chrome Version 47.0.2526.106 (64-bit) )

We are invoking $http GET over a specific $interval (indefinitely). Chrome debugger depicts number of listeners increases 'linearly' over time (perhaps 'xhr' and 'load' listeners). There also seems to be a mild and corresponding JS heap leak which increases with a 'saw tooth' profile although not as prominently as the increase in number of listeners. BTW, we have ruled out $interval as the source of the leaks if that helps.

Simple plunkr included. Please advise.

Many thanks!
Mo

screen shot 2016-01-08 at 4 22 40 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions