Are there techniques for reducing memory usage (by development) in using javascript?

0

I would like to know if there is any technique to reduce memory usage regarding the use of javascript. I mean, about development.

I noticed that a certain page that we are developing where I work seems to use a lot of memory, and this is flagged in google chrome as being most of that consumption coming from javascript.

How could I fix this?

    
asked by anonymous 10.08.2015 / 18:01

1 answer

0

This is an architectural problem. What I would do is take a new step of raising requirements. It could be that there are events where there is a waste of functions, objects, etc. Try to make requests via GET for application to receive only the functions you need. Be careful when making use of JSON loading. Taking care simpler than it looks, will not overload the hardware at the time of application.

    
11.08.2015 / 04:24