Re: multitasking
Re: multitasking
- Subject: Re: multitasking
- From: David Duncan <email@hidden>
- Date: Fri, 5 Nov 2010 09:43:49 -0700
On Nov 5, 2010, at 6:02 AM, Sanoj Nambi wrote:
> Hey,
> Memory is not just a concern for me.My app allows users to email an audio file as an attachment. I suspect that the in-app mail API has some bug.The in-app mail API method reads the entire file into memory and it keeps accumulating it in one session and after reaching a point it crashes.
> So I was planning to quit the app forcefully after user shares the file.
If you think there is a bug, then please file one. However, I'm having a bit of trouble parsing your scenario. Is sending mail crashing your application or MobileMail?
If it is crashing MobileMail (and your application is front most) then thats fine – the message will be sent at a later date when it tries again. If you respond properly to memory warnings then you may be able to help this process, but it is not your application's responsibility to support MobileMail's behavior in this respect (and it really really is a bug you should file).
If sending mail is crashing your own application while in the foreground, then there is either an issue with your application or the framework (I'm not certain which here at the moment). Without more details it is hard to point blame, but the first place to look is how you are specifying the file to the mail composer.
However, at this point (really since the beginning) this has been quite off-topic for the Core Audio mailing list. You may want to move this to either the Cocoa-Dev list of the Dev Forums with a clearer explanation of what is crashing and where, and what you are doing to attach this audio file (source code).
--
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden