d-language-server / dls

A Language Server implementation for D
http://dls.dub.pm
106 stars 14 forks source link

Huge memory leak since recent versions #21

Closed LaurentTreguier closed 5 years ago

LaurentTreguier commented 5 years ago

OS: Windows 10 x64

Recent DLS versions seem to have a gigantic memory leak. Finding a symbol declaration a few times in a row can increase memory usage by a few dozen megabytes.

LaurentTreguier commented 5 years ago

Responsible commit: 33428469dd32e9408f2ae5337e5143babe1862e5

LaurentTreguier commented 5 years ago

Fixed in 7b05f9ee5fc51635ce7da4e18889618d514fa1c0 by using a signle TaskPool manually.