cron trim

This commit is contained in:
yihaoDeng 2022-10-31 09:23:33 +08:00
parent f52000d86e
commit 55509833db
1 changed files with 6 additions and 1 deletions

View File

@ -338,5 +338,10 @@ int64_t taosMemorySize(void *ptr) {
}
void taosMemoryTrim(int32_t size) {
malloc_trim(size);
#if defined(WINDOWS) || defined(DARWIN)
// do nothing
return;
#else
malloc_trim(size);
#endif
}