Hot to destroy a big Array and free RAM
Giovanni Di Maria
calimero22 at yahoo.it
Thu Dec 13 21:31:54 UTC 2018
On Wednesday, 12 December 2018 at 08:34:25 UTC, Jonathan M Davis
wrote:
> On Wednesday, December 12, 2018 1:14:47 AM MST Giovanni Di
> Maria via Digitalmars-d wrote:
>> [...]
>
> As I understand it. under normal circumstances, the GC never
> returns memory to the OS. Even if it's collected during a GC
> cycle, it keeps it around so that it can be reused when the GC
> needs to allocate memory again. That being said, looking at the
> documentation for core.memory, it looks like GC.minimize might
> return unused memory to the OS if it's called:
>
> [...]
Hi Jonathan M Davis.
Thank you very very much.
Excuse me for the wrong forum.
Regards.
Ciao
Giovanni
More information about the Digitalmars-d
mailing list