Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

iOS $http json Memory Leak

$
0
0

@Alucas wrote:

Hi everyone,

I have an issue with the $http service, not only related to ionic.
Everytime I make an Ajax call to a server to retrieve some JSON data. The memory on iOS increase (you can see it with Xcode). At some point, the memory is too high and the app just crash.
Is there a way to avoid this? Without using a cache system?

You can easily reproduce this. Init a new ionic project and make a $http.get() call. (At this uri for example http://fr.openfoodfacts.org/api/v0/produit/3029330003533.json ).

This behavior occur without ionic, it's an angular issue, but I ask here if someone have a solution.
I haven't try to reproduce it on a android device yet

Thanks
Lucas

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>