When executing SQL, I often encounter prompts about low memory. How should I handle this? There is the following error message:
Server response: 'select top 100 * from tb_stocktick where code == "300678" and date(datetime) == date(now()) => Out of memory'
The memory situation of the session is as follows:
The memory usage of OLAPTablet has overflowed.
Upon analysis using the getSessionMemoryStat()
function, it was found that __TSDBCacheEngine__
has a high consumption. However, when calling clearAllCache()
, there was no decrease in the memory usage of __TSDBCacheEngine__
.