rakeshpai/pi-gpio

gpio.read eats up the whole memory?

Closed this issue · 0 comments

I wrote a simple code, which opens the pin for input, then infitely loop the gpio.read function. if i run it with pm2 (nodejs process manager), i can see that it quickly eats up almost 200-400 MB ram!

if i commen out the read function then everything is okay. any help?