[jruby-dev] JRuby Memory Usage

2010-03-03 Thread gaja s.r
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,

[jruby-dev] Marshalling Java Objects

2010-02-13 Thread gaja s.r
Hi, I have some trouble in Marshalling Java Objects in JRuby. Here are my two scenarios, 1. require 'java' java_import java.lang.Long class A def initialize @process = Long.new "15" end end Now if i instantiate this class and give Marshal.dump a, i get, no marsh