Hi , i have c++ program , it using STL list . the memory allocating to this application when calling list push_back method and its not releasing after function func scope and am clearing the list also . here sample program . can any help to resolve the issue as how to release memory allocated to STL list after usage , i am suspecting this is cause for memory growing . int func() { string addr_id_string = "120005262| 6691 | LEE HWY ||ARLING"; list<string> stagingAddrIdList; list<string>::iterator iter = stagingAddrIdList.begin(); for(int i=0;i<5000;i++){ usleep(1000); stagingAddrIdList.push_back(addr_id_string); } list<string>::iterator iter1 = stagingAddrIdList.begin(); for(;iter1!=stagingAddrIdList.end(); iter1++) { string tempStr = *iter1; printf ("temp str %s\n", tempStr.c_str()); } stagingAddrIdList.clear(); return 0; } int main() { func(); while(1) { sleep(2); printf ("sleeping process \n"); } } Thanks in Advance. Venkat -- This message posted from opensolaris.org