Not to Well-Actually-Cat you, but I'm pretty sure the iPad1 only has 128 MB of RAM. I mention this because it may be useful to Stone to realize he has even fewer resources to work with than he thought :-)
Nothing beats having actual hardware to test on, but at least if you have a general idea of the limitations of the target device, you have a better chance of success. Everything else you said is spot-on. Jeff On Fri, Sep 9, 2011 at 4:44 AM, Nic Wise <n...@fastchicken.co.nz> wrote: > 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 <r...@xamarin.com> wrote: > > On Thu, Sep 8, 2011 at 10:04 PM, stonee74 <stein...@gmail.com> 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 > > MonoTouch@lists.ximian.com > > 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 > MonoTouch@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch