Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2008, 03:04 PM
Member
 
Join Date: Nov 2008
Posts: 1
deb_santanu is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 06:34 PM
Need to find large files and folder on the PC. What app needed? Cleaner007 Reviews / Advertising 1 09-30-2008 09:06 PM
OutOfMemory in Jboss 4 in Linux Platform Narendran M R Enterprise JavaBeans 0 02-02-2008 01:58 PM
JasperReport OutOfMemory gustavofranco Advanced Java 0 07-26-2007 11:42 PM
Problems with downloading Files from Applet Albert Java Applets 1 07-05-2007 07:09 AM


All times are GMT +3. The time now is 09:08 AM.


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