🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database
Article #2104

Re: Access Violation using MSACCESS

#2104
From: Oliver Townshend
Date: Sun, 16 Aug 1998 00:00
33 lines
1969 bytes
> However after processing in excess of 18,000 records (18408 to be exact,
> not counting 'child' records ) I get
> ______________________________________________________
> Access Violation at Address 4E5FA1F6 in module 'IDDAO32.DLL'.
> Write of Address 0000 0000 .
> ______________________________________________________
> 
> while running under NT4
> 
> or
> ______________________________________________________
> Access Violation at Address 4E5FA1F6 in module 'IDDAO32.DLL'.
> Read of Address FFFF FFFF .
> ______________________________________________________
> 
> under Windows 95 on the same record.

You probably have a memory leak.  If you watch under NT4 using the Task
Manager, you will see your memory usage slowly go up, until you run out
of money.  To avoid this you should do several things:

	1) Make sure you have the latest version of BDE (now at 5.0).

	2) the latest version of ODBC (I believe it is ODBC 3.5).

	3) Break your transactions up so that your program can run in parts,
eg. do 1000 records as part of one transaction and commit.  Then do
another 1000 records.  If it falls down, you can restart from a given
point, rather than at the beginning.

	4) Find the source of the memory leak (good luck).

Oliver
Technical Details
Message-ID: <35D6B0B8.F5A39C81@zip.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bdc84f$8c9e0620$01000a0a@pentium1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffff5,276f600a65905796
X-Google-Attributes: gidffff5,public
X-Google-Thread: 115d96,276f600a65905796
X-Google-Attributes: gid115d96,public
From: Oliver Townshend <oliver@zip.com.au>
Subject: Re: Access Violation using MSACCESS
Date: 1998/08/16
Message-ID: <35D6B0B8.F5A39C81@zip.com.au>
X-Deja-AN: 381624081
Content-Transfer-Encoding: 7bit
References: <01bdc84f$8c9e0620$01000a0a@pentium1>
To: Alan Buckle <buckle@euronet.nl>
Content-Type: text/plain; charset=us-ascii
Organization: The Zipsters
Mime-Version: 1.0
Reply-To: oliver@zip.com.au
Newsgroups: borland.public.delphi.database,comp.lang.pascal.delphi.databases