I have solaris system that installed 12 GB RAM. All running process consume about %65 memory. I start to application that tshark (wireshark command line alternative). Tshark complete parse a file(really small one) about 5-6 seconds. Re-execute again tshark, completed less than 1 second. If I wait a couple of minutes, process complete time is increased to 5-6 seconds. I run tshark with using truss, results said that brk() operation (brk is totally about memory allocation) is cause this delay. I want to response tshark operation is less than 1 seconds that similar to repeatedly executions. How can we do this? What is wrong with memory allocation at solaris?
uname -a SunOS test_machine 5.10 Generic_147441-01 i86pc i386 i86pc