Skip to content

Driver memory leak?  #104

@bubnenkoff

Description

@bubnenkoff

Hi! I can't find the reason of why my app do not release memory. Here is topic http://forum.dlang.org/post/aluvxaltjkoojxuthswc@forum.dlang.org

I checked most of possible variants and even tried to call GC.collect();, but app still continue eat and do not release memory.

My code do not use nothing expect your driver. So I can assume that the driver is reason (but I am not sure).

The size of data set with I am working is about 400k rows.

Could you please do any test on your PC?

I tried to do call result.close(); in every loop iteration.

	foreach(item; getTablesGPSSensorList) // iterate pairs gps-sensor. getTablesGPSSensorList is array of Tuples (tables of DB).
	{			
		string itemName = format("GPS: %s | Sensor: %s", item.gps, item.sensor);
		ResultRange result = mysqlconnection.query(sqlquery.replace(`historygps_xxx`, item.gps).replace(`historysensor_xxx`, item.sensor));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions