Dynamic Array Question

Dax dax at mailinator.com
Tue Sep 20 13:04:27 PDT 2011


>
> Does it 'leak'? What is your exact setup, why isn't the GC collecting
> that memory?
>

I have a Label class with a text() property that calls the procedure 
that I have written in my first post and returns the result.


I have posted here because I was looking the memory usage (more 
precisely the process' private working set) with Process Explorer (from 
Sysinternals) and I saw the private working set increase and increase 
every time text() property il called, so I trought it was a memory leak.

But, if the Garbage Collector handles the memory allocation of dynamic 
arrays, the problem is solved.


Thanks to all for help me with this problem! :)


More information about the Digitalmars-d-learn mailing list