Hello to all!
I am using Array DML to insert large csv files in my database.
My testfile has 50000 lines.
After creating the variant arrays for each column the memory usage of the whole program is around 100mb. Than I declare and set the variables in the TOracleQuery. With types otFloat and otDate each variable adds around 1mb to the used memory. However, if I set a variable of type otString the memory usage rises around 200mb each.
I dont understand why variables with type otString need so much memory. This is a large problem because my productive files are much larger than 50000 lines and I am running out of memory.
Thank you for your help.
Tobias
I am using Array DML to insert large csv files in my database.
My testfile has 50000 lines.
After creating the variant arrays for each column the memory usage of the whole program is around 100mb. Than I declare and set the variables in the TOracleQuery. With types otFloat and otDate each variable adds around 1mb to the used memory. However, if I set a variable of type otString the memory usage rises around 200mb each.
I dont understand why variables with type otString need so much memory. This is a large problem because my productive files are much larger than 50000 lines and I am running out of memory.
Thank you for your help.
Tobias