Article View: borland.public.jbuilder.java.api
Article #982OutOfMemoryError
From: Alan Shiers
Date: Mon, 01 Jul 2002 21:40
Date: Mon, 01 Jul 2002 21:40
15 lines
1566 bytes
1566 bytes
Hi there, I created a client/server project. The server-side app allows the uploading of files from the client app. Today I tried to upload a rather large zipped file (60Mb) and this caused the JVM to display an OutOfMemoryError message on the console. Needless to say the file never did get uploaded. Is there a restriction as to how much data the JVM will allow. I realize the 60Mb file is big, but I didn't think that this should prove to be a problem. Aside from reducing the size of the file is there something else I can do to prevent the error from happening in the future? Alan
Technical Details
Message-ID:
<3D20CC5D.B70473C9@hfx.eastlink.ca>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,28eab50e784856ac,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-07-01 13:40:51 PST Message-ID: <3D20CC5D.B70473C9@hfx.eastlink.ca> Date: Mon, 01 Jul 2002 17:40:45 -0400 From: Alan Shiers <ashiers@hfx.eastlink.ca> Organization: Mustard Seed Software X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: OutOfMemoryError Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.222.101.2 X-Trace: dnews 1025555879 24.222.101.2 (1 Jul 2002 13:37:59 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews