Not able to submit asset : File size 72 MB
I am getting below error while submitting 72 MB file in RAM.
javax.faces.FacesException: #{submitAssetHandler.doFinishAction}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:419)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
Do I need some specific settings to get this asset submitted?
javax.faces.FacesException: #{submitAssetHandler.doFinishAction}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:419)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
Do I need some specific settings to get this asset submitted?
2 answers
You might need to apply the performance tuning settings for RAM
If you are running RAM on Websphere, you can use ram.setup and apply the performance settings, especially the JVM settings
choose a setting where your max heap size is at least half the physical memory
for more information read
http://publib.boulder.ibm.com/infocenter/ramhelp/v7r2m0/topic/com.ibm.ram.installguide.doc/topics/r_tuning_guide.html
If you are running RAM on Websphere, you can use ram.setup and apply the performance settings, especially the JVM settings
choose a setting where your max heap size is at least half the physical memory
for more information read
http://publib.boulder.ibm.com/infocenter/ramhelp/v7r2m0/topic/com.ibm.ram.installguide.doc/topics/r_tuning_guide.html