JRuby 1.5.0.RC1 + Rails3: OutOfMemoryError: Java heap space

Hi guys,

So I have just finished upgrading a simple rails app to rails 3 and am
getting the following stack trace when starting up with tomcat (also
tested on jetty):

Does it ring any bells?

If not, I can prepare a test app and send it to the list to see if
someone can give me a hand.

Thanks,

Leonardo Borges


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

have you tried with jruby-1.5.1?

On Wed, Jul 7, 2010 at 10:46 AM, Leonardo Borges
[email protected] wrote:

someone can give me a hand.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Wed, Jul 7, 2010 at 7:46 AM, Leonardo Borges
[email protected] wrote:

So I have just finished upgrading a simple rails app to rails 3 and am
getting the following stack trace when starting up with tomcat (also
tested on jetty):
gist:975822e87d3b6329366f · GitHub

Does it ring any bells?

:: at
(unknown).(unknown)(file:/Users/lborges/dev-softs/apache-tomcat-6.0.26/webapps/rTasks/WEB-INF/lib/jruby-rack-1.0.1.jar!/vendor/rack-1.1.0/rack/builder.rb:46)

Not using Rails 3 yet, but I’ve been unable to get any JRuby/Rails app
to run on any container with rack 1.1.0 – you might try dropping in
1.0.1.

FWIW,

Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I just created an rails-3.0.0.beta4 application, scaffolded a simple
model, created war file and deployed it on jetty. all went smooth. and
it uses rack-1.1.0, sqlite3 and everything is on linux.

without further info (test application) I can not tell more.

regards Kristian

On Thu, Jul 8, 2010 at 7:01 AM, Leonardo Borges
[email protected] wrote:

On Thu, Jul 8, 2010 at 1:11 AM, Hassan S.


  http://xircles.codehaus.org/manage_email


Kristian Meier + Saumya Sharma + Sanuka Meier
Vadakkethu House,
Edayanmula West PO - 689532,
Pathanamthitta District, Kerala, INDIA

tel: +91 468 2319577

protect your privacy while searching the net: www.ixquick.com

         _=_
       q(-_-)p
        '_) (_`
        /__/  \
     _(<_   / )_
  (__\_\_|_/__)

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

The stacktrace shows you are running out of heap space. How much does
tomcat have? Have you tried increasing it? If there are other webapps
running on tomcat this could be reducing the amount available for the
app with the error.

Take a look at: http://wiki.apache.org/tomcat/FAQ/Memory

On Thu, 2010-07-08 at 00:46 +1000, Leonardo Borges wrote:

someone can give me a hand.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hmm Apparently Rails 3 requires rack 1.1.0 so I cannot easily downgrade
rack :S

I’ll keep looking but if you have any other ideas please do let me
know…

Cheers,
Leonardo Borges

On Thu, Jul 8, 2010 at 1:11 AM, Hassan S.
[email protected] wrote:

:: at (unknown).(unknown)(file:/Users/lborges/dev-softs/apache-tomcat-6.0.26/webapps/rTasks/WEB-INF/lib/jruby-rack-1.0.1.jar!/vendor/rack-1.1.0/rack/builder.rb:46)
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email