I have 5 resource and 48 events. I refresh my event every 5 seconds via websocket. When my page start , memory is 50 MB after 5 min. After half hour memory is 1 GB.
1-)How Am I gonna solve that memory leak problem ?
2-)How can I update events without memory leak ?
3-)How can it be possible to use %25 CPU usage in simple javascript application ?