It might be an idea to post the code so we can look for anything suspicious. It seems too strange that the memory does not free up. I have used Sun a lot and never seen that before.
One world, one people
Comment on Re: memory not freed after perl exits. Solaris.