I'm writing an MonoTouch app that downloads over 1000 individual PDF files and open them as one giant pdf file. I have no problem viewing the document but if I keep close/open the document few times it will throw
EXCEPTION: Too many open files t System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00275] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/FileStream.cs:310 at System.IO.FileStream..ctor (System.String path, FileMode mode) [0x00000] in :0
I've been using MonoTouch for a couple years now and have not had any issues like this. Could this be a new Xamarin.iOS issue?
I also saw in the forum they fixed this issue by using ulimit -a but how do I apply that to an iPad app?
Anyone?