Visual D and VS2022 : memory leak?

Rainer Schuetze r.sagitario at gmx.de
Sun Oct 9 15:47:21 UTC 2022



On 06/10/2022 16:47, Imperatorn wrote:
> 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 🙏

New version 1.3.1 of Visual D is available, please try it.


More information about the Digitalmars-d-ide mailing list