the 'top', 'ps', 'free' command of the linux os seems not to be useful for checking the memory info. your application may not get a memory leak, and the increase of the Memory Usage is just because you occupy more cache, and linux would release it some day, just wait for more time.

hope it works,
good luck

andy