Thursday 23 July 2009

s60 messaging: memory full (part 3)

Current progress...

This program scans for folders, starting from root folders, and count their children entries. It will skip those entries which return KErrNoMemory. This thing runs for 2-3 minutes on my N82. It seems hang (not responsive) while running because it runs the progress in synchronized method.

Next step is to create an CActive object which run a robust scan of TMsvId, from 0x00100000 to 0x0010FFFF. The range should cover enough IDs that I need to retrieve. I wonder if the log file larger than 10MB. Current free phone memory is 13MB. If log file filled up phone memory, the phone will be dead.

No comments: