Comments (2)
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.
I'm experiencing the same thing with tomcat 8 now, do you have any more ideas?
from jruby-rack.
Related Issues (20)
- org.jruby.rack.RackInitializationException: can't convert nil into String HOT 8
- Missing support for rack socket hijacking API? HOT 1
- issues running sinatra 1.4 with rack 1.6 HOT 2
- jruby.rack.logging Parameter not working HOT 1
- OPTIONS calls don't get passed to application in Jetty
- Getting an error while loading gems HOT 5
- exception in websphere HOT 1
- Incompatibility for Rails request body input stream
- Rails 4, streaming blocked by `@body.respond_to?(:body_parts)` HOT 2
- Java servlet store broken with Rails 5.1 and Tomcat 7 HOT 4
- Runtime error not logging specific message HOT 4
- Infinite loop when obtaining the session
- Requests are handled before rails app is fully loaded HOT 2
- Multiline environment variables set with jruby.runtime.env HOT 2
- Deprecation warnings under JRuby 9.2.x HOT 1
- Will this project ever support EE9 / jakarata servlet specs? HOT 4
- Session store `@env` is nil with Rails 7 HOT 5
- Broken multipart data HOT 26
- Doclint fails during release build
- NoMethodError undefined method get_header re-emerged with JRuby Rack 1.2.2 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jruby-rack.