I am using StatementCache := true, StatementCache := 100.
What I am seeing is that from the Oracle persecptive, there is 1 parse, and numerous executions; as I would expect. HOwever, I am also noticing that my application's memory has gone crazy. WIthout statment cache, it uses about 40M. With statement cache, it has grown to over 1.4 GIG.
This is also causing a severe performance degradation.
Is this is a known issue, or is there a fix?
Any insights or guidance with this?
Thanks, in advance.
What I am seeing is that from the Oracle persecptive, there is 1 parse, and numerous executions; as I would expect. HOwever, I am also noticing that my application's memory has gone crazy. WIthout statment cache, it uses about 40M. With statement cache, it has grown to over 1.4 GIG.
This is also causing a severe performance degradation.
Is this is a known issue, or is there a fix?
Code:
FConnection := TOracleSession.Create(Nil);
FConnection.ThreadSafe := True;
FConnection.AutoCommit := False;
FConnection.Preferences.ZeroDateIsNull := False;
FConnection.StatementCache := True;
FConnection.StatementCacheSize := 100;
Any insights or guidance with this?
Thanks, in advance.