memory not released after running program
I am programming in Emacs and Ubuntu8.10.
I have finished running my C++ program from Emacs, even exited Emacs, however the memory used by my program is still held by the system. System monitor shows this in the memory and swap charts under "Resources" tab, but does not show the process that takes that large amount of memory in its "Processes" tab, so I have no clue how to release the memory. Is there a bash command that can release memory? Also even if there is no deallocation of memory in the code, why after the program finishes its running it does not release the memory used?
Thanks and regards!