Hi All,
My application calls some java functionalities using C++. While running, my application crashes after 1 hour. The reason it saya is "Java: Heap memory exhausted", it couldn't allocate heap memory for further operations as it was exhausted. I think, java uses garbage collector to release memory when ever the objects goes out of scope. I even tried to catch the exception,but, It was not caught. Could any one give me solutions to catch the exception or to free up the memory which the java holds up?
My application calls some java functionalities using C++. While running, my application crashes after 1 hour. The reason it saya is "Java: Heap memory exhausted", it couldn't allocate heap memory for further operations as it was exhausted. I think, java uses garbage collector to release memory when ever the objects goes out of scope. I even tried to catch the exception,but, It was not caught. Could any one give me solutions to catch the exception or to free up the memory which the java holds up?
Comment