ios4 - MonoTouch: NSData memory conservation -
does know if it's more memory-efficient use nsdata.fromfile or fromstream vs filling nsdata.fromarray? specific case i'm sending large file via email (mfmailcomposeviewcontroller.addattachmentdata). right i'm filling nsdata bytes want send, hoping if use nsdata.fromfile or fromstream, wouldn't ever keep file data in memory @ once.
i think out of luck here. if pass data on addattachmentdata(), mail composer copy bytes , hold them in memory (you should see instruments). best can dispose() nsdata passed on release memory fast possible.
Comments
Post a Comment