我正在使用 rails 3 + 回形针来托管我的文件管理应用程序。
但是,回形针似乎无法处理大文件(> = 200 MB)
在开发环境中它给了我:
JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP032I JVM requested Snap dump using '/home/ubuntu/upload/Snap.20130322.123321.12125.0001.trc' in response to an event
JVMDUMP010I Snap dump written to /home/ubuntu/upload/Snap.20130322.123321.12125.0001.trc
JVMDUMP032I JVM requested Heap dump using '/home/ubuntu/upload/heapdump.20130322.123321.12125.0002.phd' in response to an event
JVMDUMP010I Heap dump written to /home/ubuntu/uploadheapdump.20130322.123321.12125.0002.phd
JVMDUMP032I JVM requested Java dump using '/home/ubuntu/upload/javacore.20130322.123321.12125.0003.txt' in response to an event
JVMDUMP010I Java dump written to /home/ubuntu/upload/javacore.20130322.123321.12125.0003.txt
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
[2013-03-22 12:33:42] ERROR
在生产环境中,我将此应用程序部署为WAR文件并上传到 tomcat 服务器,它没有给我任何错误,但上传的文件已损坏。
知道如何解决这个问题吗?
谢谢!
更新
我修改了一些 tomcat 连接器配置并得到了这个错误:
IOError (Disk quota exceeded): app/controllers/submissions_controller.rb:73:in `create'
但我 100% 确定我有足够的空间使用。