I have a situation where Codec Engine 2.25.00.05 and DSPLink 1.64 are being used in a OMAP3 system. When the Engine_open is called the first time after the board is booted, Linux is showing about ~40MB used based on the free command (start app, check free value, step over Engine_open, observe free value 40MB lower), which seems fairly high though not impossible. The tricky part is if the Codec Engine process is killed and restarted than when it is opened again it only appears to be using ~15MB based on the free command. This being said, one can have Codec Engine use less memory in this case by starting the application, killing it, and than relaunching it, however this is a bit of an odd work around that I am looking for a way to avoid.
Any ideas on why the Engine_open call of Codec Engine would vary in the amount of memory it is allocating based on having been run before?