Huge Memory Usage

rmathur

Member²
Hi Marco,
Why do the DOA objects take up so much memory? If I only have the OraSession object and & before I set Connected := TRUE the memory used by this program is 1956K. After I set Connected := TRUE the memory used is 8548K. I have no query running at this point & there is no other object on the form except the TOraSession object. How can I reduce this?
Thanx,
Raj Mathur
 
When you make a connection to the database, Net8 (or SQL*Net) will be initialized and this can take up some memory. I have tried something similar here, and the first application that uses Net8 takes up 3MB. The second application uses 1MB, because the Net8 DLL's are now shared between the applications. I never see 8.5MB though, how exactly did you determine this?

------------------
Marco Kalter
Allround Automations
 
It's simply the Oracle Net Client that loads some DLL's and allocates some memory. What's the problem?

------------------
Marco Kalter
Allround Automations
 
Back
Top