I've fully experimented with your code taking up CPU memory issues. It is evident that the CPU memory decreases gradually when the program is running. Fortunately, your process will not be killed because the datasets in your experiment are too small.
However, I tested your code on a dataset with 100,000 entries. And the process was killed when we got to one tenth of the way through the test because of memory leak.
Long data series are not uncommon in the real world of online learning, and online learning is geared towards applications in the display world. Therefore, I hope that you will take this issue seriously.
Looking forward to your reply.
I've fully experimented with your code taking up CPU memory issues. It is evident that the CPU memory decreases gradually when the program is running. Fortunately, your process will not be killed because the datasets in your experiment are too small. However, I tested your code on a dataset with 100,000 entries. And the process was killed when we got to one tenth of the way through the test because of memory leak. Long data series are not uncommon in the real world of online learning, and online learning is geared towards applications in the display world. Therefore, I hope that you will take this issue seriously. Looking forward to your reply.