Article View: borland.public.cppbuilder.database.ado
Article #6046ADO APPLICATION AND MACHINE RESOURCE USAGE
From: Ian Searle
Date: Mon, 27 Nov 2000 23:21
Date: Mon, 27 Nov 2000 23:21
28 lines
1923 bytes
1923 bytes
I hope someone can give me some help here. I have written an application which is basically five forms and one data module containing about 12 to 14 datasets using one ADO connection. The main form of my program uses splitter panels so that a lot of information can be seen in one form by simply having the user size the panels to reveal various information panels. The RDBMS is SQL Server 7. The problem is that on a Pentium III machine with 128Mb RAM running Windows 98 the program takes up about 20% of system resources which strikes me as being a large memory footprint for what is really a very simple client application. Can anyone give me some pointers as to where I might conserve resources? Should I use less datasets per connection? should I use more data modules with less datasets etc? Incidentally, other than the main form which is an auto-create form, I have tried to dynamically create the other forms at run time but this seems to make very little difference to the overall footprint. Thanks in advance. Regards Ian
Technical Details
Message-ID:
<3a22f05d$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!skynet.be!news.algonet.se!algonet!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!194.164.156.7Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,5bd9496680f72ad0,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-11-27 15:40:38 PST From: "Ian Searle" <iansearle@lightningit.co.uk> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO APPLICATION AND MACHINE RESOURCE USAGE Date: Mon, 27 Nov 2000 23:21:47 -0000 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 194.164.156.7 Message-ID: <3a22f05d$1_1@dnews> X-Trace: 27 Nov 2000 15:38:05 -0800, 194.164.156.7 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!skynet.be!news.algonet.se!algonet!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!194.164.156.7