GC noscan and primitve type arrays

Benjamin Thaut code at benjamin-thaut.de
Sat Dec 28 03:40:21 PST 2013


I'm curious,
does the GC allocate primitive type arrays like uint[] as noscan memory 
block, or are those data blocks considered for scanning? And if so why?
I have a small program that works with lots of uint[] arrays and goes 
out of memory. The data set it works on is not even close to the maximum 
memory amount available. So I think these uint[] arrays keep each other 
alive.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d mailing list