My APP received a big data that was used about twice times.
So, I think It`ll cause a memory problem.
In this case I use the WeakReference class on java.
But, I couldn`t find any class for weak references like java.
Is there any class for weak refereces on iPhoneOS?
Is this the only way in this case,
that using didReceiveMemoryWarning method and release code.
Thx.
iPhoneOS SDK does not support garbage collection so classes that implement weak referencing are not really needed. What I would suggest is that you run your app through Instruments (Choose Run->Run WIth Performance Tools->Allocations from Xcode 3.2.3. This will help you understand the memory usage of your app and detect possible leaks.