Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

SQL Query OOM in DolphinDB: How to clear memory items of TSDBCacheEngine

$
0
0

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:enter image description here

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__.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>