Code Monkey home page Code Monkey logo

Comments (2)

kares avatar kares commented on August 25, 2024

This is most likely a class-loader issue, although I'm not necessarily 100% sure.
I do have a previous similar experience with trinidad (uses tomcat 7) while doing hot redeploys of a non-trivial rails app.
I even did some heap dumping trying to resolve this, I found a "static" variable candidate in JRuby itself but fixing it still wasn't enough. Than I couldn't get my head into what might still be holding back memory from being released and I stopped digging.

I guess we're going to need a minimal Rails app setup where we can easily explore this further.

If you're redeploying the war, than doing a tomcat restart each time you deploy might avoid this, or assign the server more memory and restart it once every 3 hot deploys if you need to avoid restarts as much as possible.
Sorry for any inconvenience, but this is an old Java class-loading hustle, in this case it even might be tomcat specific.
If you find out any additional info or have log outputs where stack traces are printer out, feel welcome to comment.

from jruby-rack.

c0mrade avatar c0mrade commented on August 25, 2024

I'm experiencing the same thing with tomcat 8 now, do you have any more ideas?

from jruby-rack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.