Tables with XMLTYPE-Column, growing virtual memory...
Posted: Thu 24 Nov 2005 17:55
Hello!
We have upgraded our product to ODAC 5.55.1.24 and do encounter a major problem. To verify I do have created the most simple project using ODAC-components: it does use a TOraSession and a TOraTable. After connecting to the database, the table will be opened, I am iterating over each record: "while not table.eof do table.next;" Afterwards the table is closed. And that's almost all
Now it turns out, that the TaskManager as well as Sysinternals ProcessExplorer do report growing virtual memory usage each time the table is opened, the loop is executed and the table closed again in case there's a column of XMLType involved.
There's definitely no leak within the delphi-code involved and it's also not a problem of memory-fragmentation. My only guess is, that these memory-allocations do happen inside one of the DLLs used by ODAC (oci.dll?) which would turn out to be a bug (maybe some resources are allocated by ODAC but never deallocated or so...)
Please let me know, if you do have any hints!
Greetings
Stefan Meisner
We have upgraded our product to ODAC 5.55.1.24 and do encounter a major problem. To verify I do have created the most simple project using ODAC-components: it does use a TOraSession and a TOraTable. After connecting to the database, the table will be opened, I am iterating over each record: "while not table.eof do table.next;" Afterwards the table is closed. And that's almost all

Now it turns out, that the TaskManager as well as Sysinternals ProcessExplorer do report growing virtual memory usage each time the table is opened, the loop is executed and the table closed again in case there's a column of XMLType involved.
There's definitely no leak within the delphi-code involved and it's also not a problem of memory-fragmentation. My only guess is, that these memory-allocations do happen inside one of the DLLs used by ODAC (oci.dll?) which would turn out to be a bug (maybe some resources are allocated by ODAC but never deallocated or so...)
Please let me know, if you do have any hints!
Greetings
Stefan Meisner