Garbage collector throwing during collection
Sönke Ludwig
ludwig at informatik.uni-luebeck.de
Wed Jul 13 23:58:09 PDT 2011
On DMD I got some strange out-of-memory errors with the current 2.054
version. I tracked it down to allocations happening during garbage
collection.
Has something fundamental in the GC implementation changed in the latest
release? It used to work, but seems to be completely disallowed now. I
think it is quite a strong requirement to not make any allocations from
within finalizers and makes them just another bit more useless. (In my
case I have some logging going on which needs dynamic allocations for
formatting (Appender)).
Regards,
Sönke
More information about the Digitalmars-d
mailing list