Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2008, 01:04 PM
Member
 
Join Date: Nov 2008
Posts: 1
Rep Power: 0
deb_santanu is on a distinguished road
Default OutofMemory while downloading large files through FTP
We are developing an application on struts framework for FTP upload and download using apache commons-net-1.4.1.jar. We are using java 1.4 and Webshpere server 5.1. It is working successfully for files < 20 MB. But if the file size exceeds 20MB it is giving no problem in uploading, but while downloading the file we are getting OutofMemory exception.


JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...JVMDG318: Heap dump file written to D:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\heapdump.20081113.150210.2496.txt
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to D:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\javacore.20081113.150231.2496.txt
JVMDG215: Dump Handler has Processed Outofmemory Signal -1.
[11/13/08 15:32:34:959 IST] 491dbdf1 WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.OutOfMemoryError:
at java.lang.StringCoding.decode(StringCoding.java:38 6)
at java.lang.StringCoding.decode(StringCoding.java:45 5)
at java.lang.String.<init>(String.java:728)
at java.io.ByteArrayOutputStream.toString(ByteArrayOu tputStream.java(Inlined Compiled Code))


Is this problem due to server settings? If so, I will be thankful if anyone can let me know where we can set the memory size in Websphere console? If we use Websphere Application Server 6.1 can this problem be avoided?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"request entity too large" when downloading a 2mb file arnab321 CLDC and MIDP 4 11-06-2008 04:34 PM
Need to find large files and folder on the PC. What app needed? Cleaner007 Reviews / Advertising 1 09-30-2008 07:06 PM
OutOfMemory in Jboss 4 in Linux Platform Narendran M R Enterprise JavaBeans 0 02-02-2008 11:58 AM
JasperReport OutOfMemory gustavofranco Advanced Java 0 07-26-2007 09:42 PM
Problems with downloading Files from Applet Albert Java Applets 1 07-05-2007 05:09 AM


All times are GMT +2. The time now is 03:17 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org