P
(Pete Cresswell)
I've got a front end that manages to grow itself from about 5 megs to over 100
megs in the course of a 8-10 hour batch job that performs something over a
million calculations.
I've stepped through the code twice now - looking for DAO.RecordSets and
DAO.QueryDefs that are not .Closed and Set = Nothing; but have not been able to
find anything.
Can anybody suggest any other cause of bloating?
In this app:
-----------------------------------------------
- No work tables are created within same.
- No links are created/deleted/modified in the course of the batch job.
- No queries are created/deleted by the app.
- No data whatsoever is stored in the app at any time.
- No objects (that I know of....) are modified.
- There are no graphic images at all in this front end (or, for that matter, the
back end...)
----------------------------------------------
One thing I *do* do, however is to open up various QueryDefs, feed them
parameters, and then open recordsets based on same. But as far as I can see,
everything is .Closed after use and Set = Nothing.
Doesn't seem to me like that constitutes modifying the QueryDefs - and I've done
about a quarter million iterations of that in a little test app with no
bloat....but maybe I'm missing something.
Occam suggests that I'm just lying about the .Closes.... and maybe I'll find
something tomorrow morning when I step through it for a third time...
Meanwhile....?
megs in the course of a 8-10 hour batch job that performs something over a
million calculations.
I've stepped through the code twice now - looking for DAO.RecordSets and
DAO.QueryDefs that are not .Closed and Set = Nothing; but have not been able to
find anything.
Can anybody suggest any other cause of bloating?
In this app:
-----------------------------------------------
- No work tables are created within same.
- No links are created/deleted/modified in the course of the batch job.
- No queries are created/deleted by the app.
- No data whatsoever is stored in the app at any time.
- No objects (that I know of....) are modified.
- There are no graphic images at all in this front end (or, for that matter, the
back end...)
----------------------------------------------
One thing I *do* do, however is to open up various QueryDefs, feed them
parameters, and then open recordsets based on same. But as far as I can see,
everything is .Closed after use and Set = Nothing.
Doesn't seem to me like that constitutes modifying the QueryDefs - and I've done
about a quarter million iterations of that in a little test app with no
bloat....but maybe I'm missing something.
Occam suggests that I'm just lying about the .Closes.... and maybe I'll find
something tomorrow morning when I step through it for a third time...
Meanwhile....?