• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Concurrent user testing - File Upload

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends.

In a 20 user concurrent file upload test , I found this error in WAS server log. Are there any issues within apache file upload component? There were around 50 users conurrently within the app during load test and only 20 were in file upload.

This was first exception and app went down. So wondering if anyone faced any similar issue. Thanks for any help.

00000030 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : java.lang.OutOfMemoryError
at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:75)
at org.apache.commons.fileupload.DeferredFileOutputStream.<init>(DeferredFileOutputStream.java:131)
at org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:558)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:406)
at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:233)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It happens if memory is low or users are uploading huge files which is eating up all memory. Check how much memory your server is using/allocated?
 
reply
    Bookmark Topic Watch Topic
  • New Topic