[mono-android] Random crash

2012-08-11 Thread Matthieu Laban
Hey Guys, We're still working on porting our iOS/WP7 app to Android and we're hitting a road block... Basically, the app crashes at random times when loading things, creating shaders, parsing data, etc... Most of it seems memory related since we're getting the errors mostly in Array.Resize() or o

Re: [mono-android] Crash with Array.Resize()

2012-08-10 Thread Matthieu Laban
I've found my answer,,, It looks like we're running out of memory... -- Matt On Thu, Aug 9, 2012 at 9:02 PM, Matthieu Laban wrote: > Hello Guys, > > We're hitting a wall with a random issue that happens on multiple places > in our code. The app quits and all we get

[mono-android] Crash with Array.Resize()

2012-08-09 Thread Matthieu Laban
Hello Guys, We're hitting a wall with a random issue that happens on multiple places in our code. The app quits and all we get is a stack trace, the last call in the stack is always System.Array.Resize(). We sometimes call it directly, and sometimes it is called in the internal workings of List.

[mono-android] Random access on Android Assets

2012-07-26 Thread Matthieu Laban
Hello Guys, I'm trying to read a file where I need the position in the file stream and occasionally seek in the file. The size of that file can vary from some KB to a few MB. I've tried using Assets.Open but accessing the Length or Position property throws an exception. Tried setting the access f