std.container.Array/RefCounted(T) leaking memory?
Stewart Gordon
smjg_1998 at yahoo.com
Sat Jan 8 10:13:12 PST 2011
On 08/01/2011 05:56, %u wrote:
> {
> auto b = Array!(bool)();
> b.length = 1024 * 1024 * 128 * 8;
> //Test memory here: high
> }
What method are you using to test the memory? I'm puzzled that you've
put a comment there rather than the code you're actually using.
If you run this code twice, does the memory usage double?
Stewart.
More information about the Digitalmars-d-learn
mailing list