Hi, I have tried to profile the application and try and catch the error but nothing is working. For one thing I suck at profiling as I have no idea what i'm doing :S. I downloaded JProfiler and it has many nice screens but I cant seem to make it do anything usefull. I tried using NetBeans debugger to break on any ServletException or OutOfMemoryError and it didnt catch either :S. Any ideas of how I could track this thing down? Thanks, -Robert Martin Marinschek wrote: Sounds very interesting. Can you profile through what the extensions filter is doing? The question is when this amount of memory is built up, if in the extension filter or later in the JSF life-cycle, I can't imagine where this would be.regards, Martin On 11/3/05, Robert Parsons <[EMAIL PROTECTED]> wrote:Hi, Sorry to bother everyone again. I have been trying to use the file upload component of MyFaces (Tomahawk), but my JVM is using up an incredible amount of memory to process each upload request. With a max memory size of 64mb it (the server) would almost certainly run out of heap space. On 120mb I could upload the file but if I uploaded 2 in quick succession it would almost certainly run out. With 1GB of memory I could always upload a file, but uploading files in quick succession took the memory usage super high from 120mb,200mb,500mb! Oh and by the way these files were no more than 2mb each, and you didn't even have to upload a file to use up the memory, just submit the form. Sureley this much memory should not be need to upload such tiny files. Is this a problem with the upload component (or the extension filter) or is it something i'm doing wrong? In my web.xml the maximum upload size is set to 50mb and a use-the-disk threshold of 10mb. The exception see back from tomcat is: exception: javax.servlet.ServletException: Filter execution threw an exception org.apache.myfaces.component.html.util.MultipartFilter.doFilter(MultipartFilter.java:102) root cause: java.lang.OutOfMemoryError: Java heap space Any ideas? Thanks, -Robert.-- http://www.irian.at Your JSF powerhouse - JSF Trainings in English and German |
- Re: inputFileUpload using excessive amounts of memory Robert Parsons
- Re: inputFileUpload using excessive amounts of memo... Robert Parsons
- Re: inputFileUpload using excessive amounts of ... Martin Marinschek
- Re: inputFileUpload using excessive amounts... Robert Parsons
- Re: inputFileUpload using excessive amo... Martin Marinschek