Well, i have 2 vars. One of them stores the loaded image, and the other one is used to show it. I do not need locks, because while i'm loading to a image, i'm showing the other imagen.
This is the logic: Main Thread: set var to load file 'A001' Backgound Tak: Load it on var[0] Main Thread: Show it. Main Thread: set var to load file 'A002' Backgound Tak: Load it on var[1] Main Thread: Show it. Dispose var[0] Main Thread: set var to load file 'A003' Backgound Tak: Load it on var[0] Main Thread: Show it. Dispose var[1] Indeed, if i do not work with the Background Task I get the same 'memory pressure' problem, and the application exits. So, the GC.Collect is mandatory for my application to work. What it seems strange is that it doesn't work if i used a BackgroundTask.... Thanks a lot!! -- View this message in context: http://monotouch.2284126.n4.nabble.com/Memory-pressure-loading-a-bunch-of-PNG-images-in-MonoTouch-tp4584493p4585638.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
