Questions tagged [code-caching]
7 questions
14
votes
2 answers
Java and Tomcat - CodeCache is full. Compiler has been disabled
My Situation
I have developed a web service for document analysis
This web service reads txt and pdf documents
For reading pdf files I am using a java library developed by my university advisor
I am using Java 7
I am currently deploying it on…

Waylander
- 825
- 2
- 12
- 34
5
votes
1 answer
why is the java code cache size growing?
I have this basic program which does nothing but sit there waiting for input:
import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Basic {
public static void main(String[]…

Alexander Bird
- 38,679
- 42
- 124
- 159
1
vote
0 answers
Java CodeCache size when using JSF / Primefaces application
I would like to ask around for your experiences. We fought some major performance issues in the last few month. When users worked with our JSF / PrimeFaces web application for a longer time, the runtime performance was getting slower and slower.…

SlimShady
- 185
- 3
- 11
1
vote
1 answer
reload class with dynamic mixin in rspec
i have following model
class Chicken < ActiveRecord::Base
after_initialize :grow_up
def grow_up
if gender == "female"
self.class.send(:include, Hen)
elsif gender == "male"
self.class.send(:include, Rooster)
end
…

Pavel K.
- 6,697
- 8
- 49
- 80
1
vote
1 answer
Rails caching my code after upgrading to Ruby 2.0 on Mac OS X Mountain Lion
Rails 3.2.13 is caching my helper modules, controllers, and other ruby code in Development mode after upgrading to Ruby 2.0 from Ruby 1.8.7 on Mac OS X Mountain Lion 10.8.4
The code changes are only picked up after I restart the server every time…

Encore PTL
- 8,084
- 10
- 43
- 78
0
votes
1 answer
In Rails, what is the standard way to turn on code-caching for Model, View, Controller, all of them, or individually?
Is it true that the standard way to say "cache all Model, View, Controller code" when running the Rails server, by using the following line in config/environments/development.rb
config.cache_classes = true
and for don't cache any of…

nonopolarity
- 146,324
- 131
- 460
- 740
0
votes
1 answer
Can Ruby on Rails cache a Controller "as long as code is not changed"?
At work, we have a situation where when
script/server
is run, then all the controller code is cached. This is to speed up the
development server. But that will mean that whenever we change the
controller code, we need to restart the server.
So we…

nonopolarity
- 146,324
- 131
- 460
- 740