This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick Question on fileupload in Struts2

Kumar Ala
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question about struts2 file upload. I am using struts2 fileupload interceptor for my application. Things are smooth until multiple users try to upload larger files and that would throw the JVM error. That is because while uploading file until it gets the full file everthing is stored in the memory. So obviously at some time it reaches the max. size.

Any solution to solve this by setting something like a threshold such that once that size reached it automatically unload from the memory.
Hope you guys got my question..?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic