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.

Hi Ashish !
RAM usage also depends on the processing the data from websocket, can we know how are you processing the data and storing it. Can you please DM me to understand better

i am not able to dm you please send me dm. I am not able to find your name