Re: memory leak with "in memory" storage?
Posted by:
Qihua Wu
Date: May 15, 2009 01:34AM
After allocated the memory using my_malloc, msyql use my_free to free the memory, and the behavior of my_free depends on the library mysql used. Some library just doesn't release the memory back to OS with the hope to reuse it later.
We faced the same problem on solaris, the default library mysql used and the mtmalloc won't really release back the memory to OS. You may try to find a different memory allocator that could release the memory back. One of my workmate tested mysqld on linux and found the memory could be released back to OS which is the opposite of what you experienced. What memory allocator did you use?
Subject
Views
Written By
Posted
8053
April 22, 2009 03:13AM
Re: memory leak with "in memory" storage?
6114
May 15, 2009 01:34AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.