On Monday, 5 October 2020 at 11:14:47 UTC, frame wrote:
So I found out that there is nothing wrong with the method as
in a test environment the allocated memory block is removed
after GC.minimize().
Still need to find out why other blocks are not released.
However, is there a way to debug currently allocated variables
by the GC?
```
"buildTypes": {
"debug_gc": {
"buildOptions": ["debugMode", "debugInfo"],
"dflags": ["-profile=gc"]
}
},
```
and run using: ``dub run --compiler=dmd --build=debug_gc``
once program exit it'll create a log file: ``profilegc.log`` with
all allocations