Article View: borland.public.jbuilder.java.api
Article #1623Java Application take too much memory
From: Eugen Mihailescu
Date: Thu, 08 Nov 2001 09:28
Date: Thu, 08 Nov 2001 09:28
25 lines
2355 bytes
2355 bytes
Dear All, We've created a Java Application using JBuilder. Is a C/S application, in 3-tier model, the client and midtier are Java applications, the last tier is a SQL databases. The SQL connection is made via ODBC drivers. Between client and server we are using Soap. I believe you've got the main picture regarding the application complexity for this time. We deployed the client application to all client machines that require that, so we've deployed the JRE1.3.1+our jars. The thing is that launching the application with 'javaw.exe -classpath "REQUIRED_LIBS1;REQUIRED_LIBS2;...REQUIRED_LIBSn"' the application executes successfuly. Till here everything is just fine. But checking the amount of memory it takes I was surprissed to se that initialy is about 18-20 MB and during the day, when the user is using the app. it takes more than 40-75 MB of RAM. What is doing the garbage collector? I was expected that all the objects destroyed by application will be released from memory, in this way the amount of memory used by the application can be restored to a decent size for the client machine. Maybe I'm wrong, but please fox, point me in the right direction: what can we do in order to keep this application consuming a decent size of memory. It's not easy to ask the client to increase/upgrade the PC memory on the fly, you know. Any ideea? Please mail me to eugen.mihailescu@e-ntegra.ro
Technical Details
Message-ID:
<3bea5001_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3e709455fc6f1b2a,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-11-08 01:31:40 PST From: "Eugen Mihailescu" <eugen.mihailescu@em-quicksoft.com> Newsgroups: borland.public.jbuilder.java.api Subject: Java Application take too much memory Date: Thu, 8 Nov 2001 11:28:00 +0200 Lines: 27 Organization: EM Quicksoft Romania SRL X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 213.154.132.122 Message-ID: <3bea5001_1@dnews> X-Trace: dnews 1005211649 213.154.132.122 (8 Nov 2001 01:27:29 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews