This occurs when the component is released "OracleSession.free" eventually, log exception:
Exception:
Type: EArgumentOutOfRangeException
Message: Argument out of range.
My connection pool:
OracleSessionPool := TOracleSessionPool.Create(nil);
with OracleSessionPool do begin
Homogeneous := True;
Max := 300;
Min := 10;
PoolType := ptDefault;
TimeOut := 30;
end;
My session:
FConnection := TOracleSession.Create(nil);
with FConnection do begin
Pool := OracleSessionPool;
Cursor := crDefault;
AutoCommit := True;
RollbackOnDisconnect := True;
end;