other error for mpp stream: Code: 0, e.displayText() = DB::Exception: Receiver state: ERROR, error message: Code: 0, e.displayText() = DB::TiFlashException: Memory limit (total) exceeded caused by 'RSS(Resident Set Size) much larger than limit' : process memory size would be 50.82 GiB for (attempt to allocate chunk of 1073741824 bytes), limit of memory for data computing : 44.80 GiB. Memory Usage of Storage: non-query: peak=0.00 B, amount=0.00 B; kvstore: peak=0.00 B, amount=0.00 B; query-storage-task: peak=0.00 B, amount=0.00 B; fetch-pages: peak=0.00 B, amount=0.00 B; shared-column-data: peak=0.00 B, amount=0.00 B., e.what() = DB::TiFlashException,, e.what() = DB::Exception,
SELECT
gr.repo_name,
gr.stars,
gr.forks,
COUNT(ge.repo_id) AS activity_count
FROM
github_repos gr
LEFT JOIN github_events ge ON gr.repo_id = ge.repo_id
WHERE
gr.stars < 50
AND ge.created_at > DATE_SUB(NOW(), INTERVAL 3 MONTH)
GROUP BY
gr.repo_name
ORDER BY
activity_count DESC
LIMIT
20