Thursday, 14 November 2019

Strange bug - app runs into memory issues on server but not locally.

I am using the library node-rdkafka to ingest a stream of Kafka events and store specific events in a postgresql database. Locally it runs fine and the heap does not grow exponentially:https://i.imgur.com/DSloump.pngI am console logging the memory output every 10 secondsHowever this is what happens on the server:https://i.imgur.com/pljrDxO.pngResulting in the application crashing then restarting.I have no idea what could be causing this. The specs on the server are not too bad:Intel W3520 - 32GB DDR3 ECC 1333 MHzAny ideas what could be causing this? What am I missing here? My local specs are superior to my server's so is this related to the servers hardware?

Submitted November 14, 2019 at 08:31AM by sir_shitfuck

No comments:

Post a Comment