Visual D and VS2022 : memory leak?

Imperatorn johan_forsberg_86 at hotmail.com
Thu Oct 6 14:47:36 UTC 2022


On Wednesday, 5 October 2022 at 19:30:29 UTC, Rainer Schuetze 
wrote:
>
>
> On 04/10/2022 23:26, Fausto wrote:
>> [...]
>
> Just the other day I noticed that the updated dmd compiler 
> version that powers dmdserver introduced some global arrays to 
> keep documentation out of the syntax tree. These reference the 
> source file content, so they never get garbage collected and 
> can cause rather fast increase of memory usage.
>
> I have a fix for that. There are a few other issues I want to 
> resolve, but I hope to have a new release this weekend.
>
>> [...]
>
> Unfortunately, this option is unlikely to help, as it doesn't 
> kill the process, but frees all modules kept in memory. This 
> won't affect the global arrays mentioned above.
>
>
>> [...]

It would be wonderful if you had a fix for it 🙏


More information about the Digitalmars-d-ide mailing list