Page 1 of 1

memory problems using new direct mode with objects

Posted: Mon 27 Apr 2015 07:33
by Aufhauser
Hi,
I have problems using new version of ODAC direct mode with spatial objects. On principle my program works, but just browsing a table whith more then about 300 records causes my program to crash whith "out of memory".
[code]
Query.SQL.Add('Select ID, GEOMETRY from NF_KF');
Query.Active;
While not Query.EOF
Query.Next;
[/code]
Stefan

Re: memory problems using new direct mode with objects

Posted: Mon 27 Apr 2015 08:28
by AlexP
Hello,

Please send a table creating script.

Re: memory problems using new direct mode with objects

Posted: Tue 28 Apr 2015 05:19
by Aufhauser
It is not a data-problem, so you can use oracle demo data.
Or you can create a single table and fill it with oracle-demo-scripts.

CREATE TABLE KG_KF
(
GDO_GID NUMBER(38),
SDOGEOMETRY MDSYS.SDO_GEOMETRY,
CONSTRAINT PK_KG_KF PRIMARY KEY(GDO_GID)
);

Stefan

Re: memory problems using new direct mode with objects

Posted: Tue 28 Apr 2015 08:25
by AlexP
Please send the script for filling in your table (which opening causes the "out of memory" error) to alexp*devart*com

Re: memory problems using new direct mode with objects

Posted: Thu 14 May 2015 05:31
by Aufhauser
To save time I will use OCI mode.

Stefan

Re: memory problems using new direct mode with objects

Posted: Tue 19 May 2015 08:29
by AlexP
Unfortunately, without reproducing the problem, we can't help you solve it.