I read that article but as you can see that my allocation pattern is almost constant I am allocating around 20MB of memory and then freeing it and then again allocating 20MB of memory.
So in case Solaris libc is reusing freed memory then it should not call brk again and again and process size should remain constant but here it is growing continously and it seems like freed memory is never reused.
Thanks Niraj Rathi