RE: Memory Free up Failing on Solaris 8 - Off-topic

2003-02-04 Thread Denny Koovakattu
Anjo response is correct. Try running truss against your executable. You will see that brk is called for allocating memory. The way I understand it is, brk/sbrk is the system call which allocates/deallocates memory and malloc is the user mode library which internally calls brk/sbrk. I don't

Re: Memory Free up Failing on Solaris 8 - Off-topic

2003-02-04 Thread Anjo Kolk
Thanks Denny :-) I remember writing a tool to prove this point in 1992, it was called ms (memory status), it showed all memory segments (heap, text, shared memory, shared objects, data segment etc). It worked the same as ps, but then for memory. I had enough of explaining all the time that the SZ

Re: Memory Free up Failing on Solaris 8 - Off-topic

2003-02-03 Thread Anjo Kolk
hmm, free() doesn't do sbrk() with a negative to reduce the process space. So yes the space stays allocated. Anjo. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Monday, February 03, 2003 7:58 AM Hi SITUATION - On a production APP Server

RE: Memory Free up Failing on Solaris 8 - Off-topic

2003-02-03 Thread VIVEK_SHARMA
Hi brk, sbrk functions are used for DATA segments and we have problem with HEAP. Malloc allocates space onto heap and not in DATA segment. Seemingly the man page imply that it should not be used in conjunction with malloc, calloc , that we are using. Pasting from man pages :- USAGE The

Memory Free up Failing on Solaris 8 - Off-topic

2003-02-02 Thread VIVEK_SHARMA
Hi SITUATION - On a production APP Server having about 4000 Concurrent application processes , the memory allocated does NOT seem to be getting freed even though the application program is issuing the respective call to Free the memory . Qs Any /etc/system parameters , OS patches which should