Symbol = `000001.SZ
result = select * from tmp where symbol = Symbol
result = select * from tmp where symbol = `000001.SZ
The above script will report an OOM error on the second line but not on the third. When I need to process A-share data and don't have enough memory to handle each stock at once, do I have to write a for loop to process them separately?
OOM is a kernel function for protect your system. If your request use all mamory, then you can do few moment: