Project was working fine suddenly it started giving this error. i even increased memory but no help. Can any one suggest what is the problem. What can be done to free the allocations.
I spent 4 full day开发者_StackOverflows trying everything I can to figure out the memory leak in an app I\'m developing, but things stopped making sense a long time ago.
I am writing some code to parse a very large flat text file into objects which are persisted to a database. This is working on sections of the file (i.e. if I \'top\' the first 2000 lines), but I am r
I have a process that must create and close threads on demand. Each thread forks a new process using open2. Sometimes after executing the program for a long time open2 fails to fork the process some
I have written a web app for managing and running Jasper reports.Lately I\'ve been working with some reports that generate extremely large (1500+ page) outputs, and attempting to resolve the resultant
I have eyeballing this code for a long time, trying to reducing the amount of memory the code use and still it generated java.lang.OutOfMemoryError: Java heap space. As my last resort, I want to ask t
Basically, I am caching a bunch of files in memory.The problem is, if I get too many files cached into memory I can run out of memory.
I\'m facing an Out of Memory Exception while converting a 1.8MB image to bytes and then encrypt, finally converting into a string (length printed in log is 1652328). And then, I\'m appending this stri
When I try and decode a bitmap on an emulator running less than WVGA800 it works fine (phones included) but on larger screens it throws a OutOfMemoryError
Following is simple method that connects to web service and receives the XML response from server which is about 2.3MB and I\'m getting OutOfMemoryError (I\'ve referred this) but not being able to fin