Hi Bibek, thanks for the post.
But yet I am not able to find a way out. One pattern I have observed, I don't know I am correct or not that "Number Of test class Objects created is equal to the number of test method present". And the object creation takes place before the execution of test script. I have a doubt if these objects are created, do they persist as long as test app runs..??? If they persist do they persist with objects created in the test method. Please help me on this. thanks in advance. On Oct 28, 1:57 pm, Kumar Bibek <coomar....@gmail.com> wrote: > Try Traceview to see your memory allocations. I am sure it will help > you. > > On Oct 28, 12:32 pm,nikki<nikhileshsingh...@gmail.com> wrote: > > > Hi Group, > > > I am facing out of memory issue in my test application. > > > I have written 102 test methods(distributed in 7 test classes) for the > > application and when it reaches to the execution of second last test > > method the test application get crash giving "java.lang.OutOfMemory" > > exception. > > > I have declared very few static objects in my test classes and i am > > nullyfying them on the final execution of each test class. > > > My main app uses REST API. In my test method there is at-least one > > server hit. > > > If any one have an idea on it, please help me out > > > thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en