|
-
Feb 10th, 2000, 06:23 AM
#1
Thread Starter
Junior Member
I know if I create an object with the new keyword I must set it to nothing when I'm done with it.
I have written a program that reads from a flat ASCII file and writes to a FoxPro database. This program uses ado for file manipulation.
This progam works on a timer and is set to run every 5 seconds. Each time it processes records the memory usage goes up. Eventually the program gets out of memory errors.
Is there anything else besides objects that need to be set to nothing? I am not using arrays but have a few Global variables and a user defined type which acts as a record set for the ASCII file.
For example:
Global ExportFile as Export
Type Export {
name as string
age as integer
ssn as string
}
When I use it, I do something like this
ExportFile.name = stName
or
rs.fields("Name").value = ExportFile.name
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|