title: AWS fargate: node js memory leak
body: <p>I have a memory leak problem regarding a node js/express API running on AWS using fargate.</p>
  
  <p>The picture says it all:
  <a href="https://i.stack.imgur.com/5OQ1S.png" rel="nofollow noreferrer">memory usage of the container running the node app</a></p>
  
  <p>This is kinda giving me a headache... I have tried using Jmeter and running the same requests against my local docker container and then used heap-dumps (chrome dev-tools) to find the issue without success. In the logs I have not found anything special happening around the times where the memory jumps in usage.</p>
  
  <p>Some additional info:
   1. There is no other request against the api during the periods where the jump in memory happens compared to when the memory usage lies stable 
   2. The api is connected to AWS RDS database(postgres) using library module: node-postgres</p>
  
  <p>Would much appreciate any input on this, Thank you!</p>