➜ fibonacci git:(master) ✗ ./fibonacci.js
DEBUG: JVM: loading ./Main.class ...
DEBUG: Not support opcodes: putstatic,athrow,checkcast,monitorenter,monitorexit,wide
Fibonacci from 1 to 10:
1: 1
2: 1
3: 2
4: 3
5: 5
6: 8
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
...
RangeError: Maximum call stack size exceeded
I get this same error when passing any int greater than 6 to Main.class in fibonacci.js. I'm using node v0.10.21.
➜ fibonacci git:(master) ✗ ./fibonacci.js DEBUG: JVM: loading ./Main.class ... DEBUG: Not support opcodes: putstatic,athrow,checkcast,monitorenter,monitorexit,wide Fibonacci from 1 to 10: 1: 1 2: 1 3: 2 4: 3 5: 5 6: 8 (node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral. (node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral. ... RangeError: Maximum call stack size exceeded
I get this same error when passing any int greater than 6 to
Main.class
infibonacci.js
. I'm using node v0.10.21.