I am using HAPI.JS framework with NodeJS and created a proxy. Think that proxy means i am just maintaining session in redis. Other than that i am not doing anything in the code. May be only thing is i am using setInterval to log my process.memoryUsage() for every 3 mintues.
My Questions:
- Why my Memory Keeps on Increasing?
- Will it get down?
- Is this occurs due to setInterval keeps on logging the process usage?
- Is this occurs due to console logging of every request and response?
- My Redis Database is kept open till my server crashes, it this causes this ?
- Do i need use process mananger like new relic or strong loop to identify this?
- So how long this memory will keep on increasing, at some point it must stop (i want to know which point is that?)
- I am using sequelize of MSSQL transaction using pooling concept? Does pooling makes this?
P.S I am new to node JS.
Aucun commentaire:
Enregistrer un commentaire