Als ich rake assets:precompile RAILS_ENV=production
laufen, habe ich die folgenden FehlerGC Obergrenze überschritten für Vermögenswerte: precompile in Rails
Java::JavaLang::OutOfMemoryError: GC overhead limit exceeded
(in /home/avijit/railswork/tracksynqv2/app/assets/javascripts/application.js)
org.mozilla.javascript.Interpreter.interpretLoop(org/mozilla/javascript/Interpreter.java:1382)
org.mozilla.javascript.Interpreter.interpret(org/mozilla/javascript/Interpreter.java:815)
org.mozilla.javascript.InterpretedFunction.call(org/mozilla/javascript/InterpretedFunction.java:109)
org.mozilla.javascript.ContextFactory.doTopCall(org/mozilla/javascript/ContextFactory.java:393)
org.mozilla.javascript.ScriptRuntime.doTopCall(org/mozilla/javascript/ScriptRuntime.java:3280)
org.mozilla.javascript.InterpretedFunction.call(org/mozilla/javascript/InterpretedFunction.java:107)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
RUBY.call(/home/avijit/.rvm/gems/jruby-1.7.16/gems/therubyrhino-2.0.4/lib/rhino/rhino_ext.rb:193)
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
ich meine production.rb Datei mit config.assets.compile = true und config.serve_static_assets aktualisieren = wahr. Ich verwende meine Rails App mit passagier und apache2.
Wie viel Speicher hast du darin? –