Working with Blobs - High Memory usage
Posted: Tue 19 Feb 2013 10:57
Hello,
i am selecting 3 colums, one is a blob, i have these settings in my tibcquery:
FetchAll = True
Options.CacheBlobs = False
Options.StreamedBlobs = True
Options.DeferredArrayRead = False
Options.CacheArrays = False
If i am not accassing the blob-col my memoryusage is fine. If i access it, the memoryusage of my application is exploding. Ok, I'm understanding that, but ther is a kind of Caching.
I access each row one time, so I don't need it after access. Is it possible, that the tibcquery releases the memory for the blob-value of the old record?
If I call the RefreshRecord-method the memoryusage is not rising, but I am not able to guarantee, that the primary key is selected. If that is not I can't use the RefreshRecord-method.
regards Jan
i am selecting 3 colums, one is a blob, i have these settings in my tibcquery:
FetchAll = True
Options.CacheBlobs = False
Options.StreamedBlobs = True
Options.DeferredArrayRead = False
Options.CacheArrays = False
If i am not accassing the blob-col my memoryusage is fine. If i access it, the memoryusage of my application is exploding. Ok, I'm understanding that, but ther is a kind of Caching.
I access each row one time, so I don't need it after access. Is it possible, that the tibcquery releases the memory for the blob-value of the old record?
If I call the RefreshRecord-method the memoryusage is not rising, but I am not able to guarantee, that the primary key is selected. If that is not I can't use the RefreshRecord-method.
regards Jan