Minimize GC memory footprint
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Jan 30 22:57:41 UTC 2021
On Saturday, 30 January 2021 at 16:42:35 UTC, frame wrote:
> Is there a way to force the GC to re-use memory in already
> existing pools?
>
> I set maxPoolSize:1 to gain pools that can be quicker released
> after there no longer in use. This already reduces memory usage
> to 1:3. Sadly the application creates multiple pools that are
> not necessary in my POV - just fragmented temporary slice data
> like from format(). What can I do to optimize?
Do you want to optimize for reduced memory usage?
More information about the Digitalmars-d-learn
mailing list