Hi I am quite new to Kite Connect, so bear with me for any mistakes. Today is my first day, I am using kiteconnectjs trying to automate the trade. After initializing kite connect with proper login procedure, I wanted to get the list of orders. I havent placed any orders though. I expected some response with empty array, but to my surprise got a JS heap out of memory error and nodeJS instance crashed. Here is the full error as is:
<--- Last few GCs --->
15371 ms: Mark-sweep 1386.6 (1434.5) -> 1386.6 (1434.5) MB, 1025.0 / 0.0 ms [allocation failure] [GC in old space requested]. 16402 ms: Mark-sweep 1386.6 (1434.5) -> 1387.6 (1418.5) MB, 1030.5 / 0.0 ms [last resort gc]. 17437 ms: Mark-sweep 1387.6 (1418.5) -> 1388.7 (1418.5) MB, 1035.4 / 0.0 ms [last resort gc].
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
The above error is thrown the moment kite.orders() is executed. Execution is fine till the earlier statement of "kite.orders()" and the next statement doesnt execute. I tried after market hours.
While I can test this again tomorrow during market hours, Let me know if this is expected in any other case.
The error is still seen during market hours. Now this is definitely a showstopper to me. I use NodeJS v6.9.5 and latest kiteconnectjs in Windows10. Any help is much appreciated.
Now this is definitely a showstopper to me.
I use NodeJS v6.9.5 and latest kiteconnectjs in Windows10.
Any help is much appreciated.