Hi all, I have a Primefaces webapp which lets users upload files up to 50MB and saves posted files into Alfresco (located in another tomcat machine). I've successfully configured it to avoid Heap exceptions but it is very slow and has a huge impact in CPU load.
Basically, the configuration has involved these steps: - web.xml (PrimeFaces FileUpload Filter): thresholdSize set to 1MB - Tomcat: maxPostSize parameter set to 0 - Webapp: saves posted file using InputStream ( http://stackoverflow.com/questions/10326460/how-to-avoid-outofmemoryerror-when-uploading-a-large-file-using-jersey-client ) How can I improve it? Is it just a hardware problem? Thanks very much