Hi, I am runnning a rails application using JRuby 1.2 + Apache Tomcat. But my application runs out of memory and throws an 'Heap:Out of memory exception' after serving a few requests. The problem persists even after increasing the heap size only thing it gets delayed. On profiling the memory, i found that the tenured generation / older generation space keeps increasing and after reaching a maximum threshold GC runs on it but it doesnt clean up the entire space (only minimall). Eventually it gets filled up and throws OOM exception. So i guess JRuby holds objects for a long time without releasing it? Is my assumption correct? Is this fixed in later versions?
-Gajendran