UniSQL Memory Leak (Oracle field: Timestamp)
Posted: Tue 01 Mar 2016 12:57
Hi,
I have in an Oracle DB a column of type: TIMESTAMP(6)
I'm getting memory leak when I execute the following query in a TUniSQL
SQL:
insert into TABLE (ID,SENDINGTIME,REASON)
values (IDSeq.nextval, sysdate, :Reason)
Execution:
UniSQL1.ParamByName('Reason').value := 'Test';
UniSQL1.Execute;
Memory Leak:
--------------------------------2016/3/1 23:48:45--------------------------------
A memory block has been leaked. The size is: 4
This block was allocated by thread 0x1444, and the stack trace (return addresses) at the time was:
406E86
72F483 [CLRClasses][CLRClasses][CLRClasses.Marshal.ReallocHGlobal]
8AE9E2 [OraClassesUni][OraClassesUni][OraClassesUni.TOraTimeStamp.Init]
8AE955 [OraClassesUni][OraClassesUni][OraClassesUni.TOraTimeStamp.Create]
8AA5C7 [OraClassesUni][OraClassesUni][OraClassesUni.TOCIRecordSet.FetchArray]
439DE4 [System.Variants][System][System.Variants.VarClearDeep]
439DE9 [System.Variants][System][System.Variants.VarClearDeep]
439E7A [System.Variants][System][System.Variants.@VarClear]
439E82 [System.Variants][System][System.Variants.@VarClr]
8A8EEF [OraClassesUni][OraClassesUni][OraClassesUni.TOCIRecordSet.DoBeforeFetch]
7C3BA4 [CRAccess][CRAccess][CRAccess.TCRRecordSet.Fetch]
The block is currently used for an object of class: Unknown
The allocation number is: 261747
-------------------
Environment:
- Delphi 10 with Update 1
- Unidac 6.2.10
- Oracle DB 10.2.0.2.0 64bit (Linux server)
If you need further information, please let me know.
I have in an Oracle DB a column of type: TIMESTAMP(6)
I'm getting memory leak when I execute the following query in a TUniSQL
SQL:
insert into TABLE (ID,SENDINGTIME,REASON)
values (IDSeq.nextval, sysdate, :Reason)
Execution:
UniSQL1.ParamByName('Reason').value := 'Test';
UniSQL1.Execute;
Memory Leak:
--------------------------------2016/3/1 23:48:45--------------------------------
A memory block has been leaked. The size is: 4
This block was allocated by thread 0x1444, and the stack trace (return addresses) at the time was:
406E86
72F483 [CLRClasses][CLRClasses][CLRClasses.Marshal.ReallocHGlobal]
8AE9E2 [OraClassesUni][OraClassesUni][OraClassesUni.TOraTimeStamp.Init]
8AE955 [OraClassesUni][OraClassesUni][OraClassesUni.TOraTimeStamp.Create]
8AA5C7 [OraClassesUni][OraClassesUni][OraClassesUni.TOCIRecordSet.FetchArray]
439DE4 [System.Variants][System][System.Variants.VarClearDeep]
439DE9 [System.Variants][System][System.Variants.VarClearDeep]
439E7A [System.Variants][System][System.Variants.@VarClear]
439E82 [System.Variants][System][System.Variants.@VarClr]
8A8EEF [OraClassesUni][OraClassesUni][OraClassesUni.TOCIRecordSet.DoBeforeFetch]
7C3BA4 [CRAccess][CRAccess][CRAccess.TCRRecordSet.Fetch]
The block is currently used for an object of class: Unknown
The allocation number is: 261747
-------------------
Environment:
- Delphi 10 with Update 1
- Unidac 6.2.10
- Oracle DB 10.2.0.2.0 64bit (Linux server)
If you need further information, please let me know.