diff --git a/pkg/tsdb/mssql/mssql.go b/pkg/tsdb/mssql/mssql.go index 82e15727e2f..692142246da 100644 --- a/pkg/tsdb/mssql/mssql.go +++ b/pkg/tsdb/mssql/mssql.go @@ -68,8 +68,9 @@ func (t *mssqlRowTransformer) Transform(columnTypes []*sql.ColumnType, rows *cor values := make([]interface{}, len(columnTypes)) valuePtrs := make([]interface{}, len(columnTypes)) - for i, stype := range columnTypes { - t.log.Debug("type", "type", stype) + for i := range columnTypes { + // debug output on large tables causes high memory utilization/leak + // t.log.Debug("type", "type", stype) valuePtrs[i] = &values[i] }