Memory Usage

rmathur

Member²
I brought this up before but did not get a good answer. Why is the memory usage so high when using DOA components? If I drop just a TOracleSession and connect to Oracle, the memory usage of the program jumps from nothing to over 10Mb. I have no other components and am not doing anything else. Please try to replicate this because this is worrisome.
Thanx,
Raj Mathur

------------------
 
Are you compiling with runtime packages? I ask this because memory usage is a fair bit higher with runtime packages.
 
Originally posted by Dean:
Are you compiling with runtime packages? I ask this because memory usage is a fair bit higher with runtime packages.

No, I'm not. Its bizarre, but if any of you try dropping a TOracleSession and connecting it, u will see the memory usage jump.
 
The major part of this 10MB will be Oracle DLLs and the memory they require. When a TOracleSession is activated, SQL*Net or Net8 will get initialized as well.

Note that the same 10MB will get allocated for any application that connects to Oracle (like SQL*Plus).

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