aspose file tools*
The moose likes JBoss/WildFly and the fly likes 150 MB attachment on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "150 MB attachment on Jboss" Watch "150 MB attachment on Jboss" New topic
Author

150 MB attachment on Jboss

Abhijeet Vaidya
Greenhorn

Joined: Apr 16, 2007
Posts: 20
Hi,

I want to send an attachment of size around 150MB to web application deployed on jboss server. What all configurations do I need to work on? When I tried with as-is configuration for 37MB file it went, for 60MB file server threw OutofMemoryError.

Thanks.
Abhijeet
[ October 17, 2007: Message edited by: Abhijeet Vaidya ]
Shahzad Masud
Greenhorn

Joined: Oct 18, 2007
Posts: 11
Increase the initial memory of JBoss. The server configuration that we are using is -Xms1024m -Xmx2048m (1 GB to 2GB) and the file upload is working fine. we have tested around 400Mb file which is working fine.
Abhijeet Vaidya
Greenhorn

Joined: Apr 16, 2007
Posts: 20
yeah, I did that and it worked fine. Thanks.


Abhijeet
 
jQuery in Action, 2nd edition
 
subject: 150 MB attachment on Jboss