The app hanging after reach 1750MB of RAM

crimaniak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 19 08:18:32 PDT 2017


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?


More information about the Digitalmars-d-learn mailing list