pnxtech / hydra

A light-weight library for building distributed applications such as microservices
https://www.hydramicroservice.com
MIT License
645 stars 54 forks source link

Fixing \n char issue on memory object (node7.x) #87

Closed jkyberneees closed 7 years ago

jkyberneees commented 7 years ago

While parsing the memory object, the character \n remains as the start of the properties "heapTotal", "heapUsed", "external". Please see detailed issue (node: 7.x): "memory": { "rss": 59314176, "\nheapTotal": 35631104, "\nheapUsed": 21309544, "\nexternal": 699713 }...

Now fixed: "memory": { "rss": 51007488, "heapTotal": 21999616, "heapUsed": 18682792, "external": 74640 }...