The iPad2 has (from memory) 512meg of RAM. The iPad 1 has 256.

Use less RAM. You are on a severely resource constrained device, and
have to adapt accordingly. It's about the same as saying "I can't
parse this 500meg XML file, tho it works on my desktop (or in the
simulator, which is the same)"

You might have to have 1 movie player, and some how pause and switch
it when you move between the scroll areas.

The iOS devices dont have virtual memory, unlike a PC, so they can't
swap anything out. They just have to stop other apps, and eventually,
your app.

To be honest, I'd rethink what you are trying to do with the app.

On Thu, Sep 8, 2011 at 22:44, Rolf Bjarne Kvinge <[email protected]> wrote:
> On Thu, Sep 8, 2011 at 10:04 PM, stonee74 <[email protected]> wrote:
>> Hi guys,
>>
>> I've built an app and tested it with an iPAD2 so far and had not any issues.
>> Today i tried it with an iPAD1 and experienced many crashes.
>>
>> I am basically showing movies (mov/m4v)on several pages of a scrollview
>> control.
>> I am creating an instance of MPMoviePlayerController and then change the URL
>> on every slide changed event and add it to the view over and over again.
>>
>> PLease see a log below, it says memory warning 1, then 2 and finally
>> crashes.
>> But only on an iPAD 1.
>>
>>
>> Any ideas what I am doing wrong?
>
> You're using too much memory :) You say you add an instance of a
> MPMoviePlayerController to a view over and over again, but do you ever
> remove any of those? Or do they accumulate?
>
> You can probably debug using the simulator by watching memory usage
> while clicking around in your app and see when the memory usage go up.
>
> Rolf
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to