I have an application that works fine in general when I test it on both nokia 6680 and 7610. But occasionally the user interface portion of it hangs and won't respond unless the phone is restarted. From all my testing, this "hanging" is random at different stages of the application.
The application communicates with the server using soap. Networking and user interface are handled in separate threads.
Unfortunately, due to the nature of the application, it creates quite a few temp objects within most methods because any user invoked command requires a refresh of all data (i have already done all the basic optimization techniques to keep this as low as possible, but due to nature of program, there's only so much I can do).
Any ideas or guesses why it might hang? Does it have anything to do with the garbage collector? I do NOT invoke System.gc() at all in my application. Should I be doing so?
Any help or insight at all would be very appreciated. It's quite urgent.