The app hanging after reach 1750MB of RAM
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 19 08:37:08 PDT 2017
On Wednesday, 19 April 2017 at 15:18:32 UTC, crimaniak wrote:
> On Tuesday, 18 April 2017 at 11:43:24 UTC, Suliman wrote:
>> I am writing app that extract data from DB to array of
>> structures.
>>
>> void getSingleTrackInfo()
>> {
>>
>> foreach(item; getTablesGPSSensorList)
>> {
>> ResultRange result = mysqlconnection.query(sqlquery);
>> auto MySQLPointsLonLat = result.array;
> Is ResultRange closing query when exhausted? Did you try to
> call .close() on it after work?
Yes I tried:
ResultRange result = mysqlconnection.query(sqlquery);
auto MySQLPointsLonLat = result.array;
result.close();
Did not help :(
More information about the Digitalmars-d-learn
mailing list