why GC not work?
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Feb 6 22:08:39 PST 2015
On Sat, 07 Feb 2015 04:30:07 +0000, Safety0ff wrote:
> False pointers, current GC is not precise.
not only that. constantly allocating big chunks of memory will inevitably
lead to OOM due to current GC design. you can check it with manual
freeing. there were some topics about it, and the solution is either use
64 bit OS ('cause the memory is here, but there is no address space to
allocate it), or use `malloc()` and `free()` from libc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150207/068dc82e/attachment.sig>
More information about the Digitalmars-d-learn
mailing list