websockets use lot of ram resources 16 gb ram is not enough

Market Data Indices Update

https://myapi.fyers.in/docsv3#tag/Web-Socket/paths/~1WebSocket/get

websockets use lot of ram resources 16 gb ram is not enough for this pyton code to run which

# Establish a connection to the Fyers WebSocket
fyers.connect()

i cannot call this variable directly and save data to mysql database or a file.

Websocket conenct gets disconneted after an hour. ram usage is so high.

2 replies