I want to create a bot to connect to my node.js server and I am getting some strange crashes that all produce this error message: RangeError: Maximum call stack size exceeded Whats even stranger, is that this doesn't seam to be triggered by any specific command at all, since this code alone:
function loop() {
loop();
}
loop();
produces the crash. I have looked at my memory usage and it is nowhere near the limit. What is wrong with this code?