It would be much better to change base (image) address for the ODAC bpls

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
scarecrow
Posts: 8
Joined: Wed 16 Aug 2006 04:37

It would be much better to change base (image) address for the ODAC bpls

Post by scarecrow » Tue 12 Dec 2006 04:52

ODAC compiled libraries use the same image base address of $00400000 which is the default for all apps and libraries written in Delphi.

This causes all ODAC libraries to be relocated when loaded - for each instance of ODAC using application. Here's a screenshot from ProcessExplorer memory map:

Image

So you can see at least 1 MB (dac70.bpl + odac70.bpl) of precious physical memory is 'wasted' for each process as modules cannot be shared due to relocation.

So, could you be so kind to allocate the ODAC a more 'specific' image base addresses (different for each module), as Borland and Microsoft do for their libraries (see the picture)?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 19 Dec 2006 14:46

We'll consider possibility to change the image base of ODAC libraries in either of the next ODAC builds.

Post Reply