Closed cdnbacon closed 9 years ago
I'm running into a similar problem where our logger (winston) tries to JSONify the error, and decycles the whole object graph. Is there a way within longjohn to make sure it doesn't reach the node process?
Oof, I'm so sorry that happens! What version of node are you running?
@mattinsler v0.8.15
@mattinsler I have the same issue. Have you had any time to look into it?
Same here. +1 as this is really a bocker to use with winston....
Every so often, we'll run into an error that longjohn tries to serialize, and in attempting to do so will peg the CPU and gobble up RAM (like 1+GB).
It seems like it attempts to serialize our entire application in a single Object graph...
It might be worth using util's
inspect
to mitigate this.