ODAC 6.25 memory consumption
Posted: Mon 19 Nov 2007 13:33
I have a viewer to read and display spatial data from Oracle Locator 10g. Simple sql like "select * from table" with 160 000 records was executing quite long but with low memory consumption (about 25MB). New ODAC 6.25 on the same code run much faster but eats lots of memory (460MB) and after the query finish and closes, it doesn't release the memory (only after application terminate). Settings for query object are:
oOraDynaset.FetchAll := False;
oOraDynaset.ReadOnly := True;
oOraDynaset.UniDirectional := true;
oOraDynaset.Options.CacheLobs := false;
oOraDynaset.Options.ScrollableCursor := false;
oOraDynaset.Options.StrictUpdate := False ;
What has changed that causes such problems? In the history file there is said that SELECT and blobs has been optimized. I tested query options and it appears that ScrollableCursor work changed. In old version settings True\False caused memory increasing/stable amount behaviour. The latest ODAC vesion doesn't behave like that. The memory raises all the time.
Maybe it's related with http://crlab.com/forums/viewtopic.php?t=10784 but SDO_GEOMETRY is an object type not blob. Nevertheless the memory symptoms are the same.
Any help how to prevent memory allocation on client cursor site?
oOraDynaset.FetchAll := False;
oOraDynaset.ReadOnly := True;
oOraDynaset.UniDirectional := true;
oOraDynaset.Options.CacheLobs := false;
oOraDynaset.Options.ScrollableCursor := false;
oOraDynaset.Options.StrictUpdate := False ;
What has changed that causes such problems? In the history file there is said that SELECT and blobs has been optimized. I tested query options and it appears that ScrollableCursor work changed. In old version settings True\False caused memory increasing/stable amount behaviour. The latest ODAC vesion doesn't behave like that. The memory raises all the time.
Maybe it's related with http://crlab.com/forums/viewtopic.php?t=10784 but SDO_GEOMETRY is an object type not blob. Nevertheless the memory symptoms are the same.
Any help how to prevent memory allocation on client cursor site?