提交 55509833 编写于 作者: dengyihao's avatar dengyihao

cron trim

上级 f52000d8
...@@ -338,5 +338,10 @@ int64_t taosMemorySize(void *ptr) { ...@@ -338,5 +338,10 @@ int64_t taosMemorySize(void *ptr) {
} }
void taosMemoryTrim(int32_t size) { void taosMemoryTrim(int32_t size) {
malloc_trim(size); #if defined(WINDOWS) || defined(DARWIN)
// do nothing
return;
#else
malloc_trim(size);
#endif
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册