Ok, I learned all there is to know about Memory Management and fixed Voice Mac with Memory leaks, you can download the latest at http://mrgeckosmedia.com/VoiceMac.zip
Hope you enjoy,
Mr. Gecko
iHarley
January 10, 2010, 7:34:23 AM
Thanks a lot. I'll try this out and see what we got!
Duane Williams
January 10, 2010, 1:30:18 PM
At first look, the memory leak appears to be fixed.
Mr. Gecko
January 10, 2010, 1:53:09 PM
As far as I know it is fixed, instruments says no leaks, and I ran it all night and the ram stayed in the 35MB range, never got to 36MB.
Duane Williams
January 10, 2010, 2:23:31 PM
On my MacBook, with MacOS X 10.6.2, Activity Monitor currently reports that Voice Mac is using 99.4MB Real memory and 192.9MB Virtual memory.
This compares to 65.4MB Real and 176.1MB Virtual when it is just started up. One expects memory to grow a bit as an app is used. The important thing is that it does not continue to grow for no good reason. VM does increase it's memory usage initially, just sitting idle. It is now showing 83.8MB Real and 195.4MB Virtual and it has been idle for just a few minutes since I last started it up. Unlike in the past, though, this initial growth appears to eventually cease.
Memory management is a tricky business.
Mr. Gecko
January 10, 2010, 2:39:42 PM
Yes, it should take more memory if you have more contacts with pictures, as I don't know how to tell if you can see the contact or not, but I'm going to look into it with YouView to see what I can come up with for people with 100 contacts and more.