File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Java heap space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Java heap space" Watch "Java heap space" New topic

Java heap space

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

Hi all,
I am using Struts2 to upload files into the database, size of the file is large (20MB or more), the problem which i am facing is

also in my struts.xml, i have

to upload files near about 2GB.
Any comment or suggestion would be appreciated.
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

Have a look at our FAQ, InvestigateOutOfMemoryError

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Java heap space
It's not a secret anymore!