How are you getting the memory usage of the application? Linux and even Mac OS X for that matter don't always tell you the truth when it come to how much a program is actually using in memory. I've found that most of the time Linux will allocate a lot more memory than is needed for a program so the program can access more memory faster when needed.