D Language 2.0

retard re at tard.com.invalid
Thu Jan 21 10:46:49 PST 2010


Thu, 21 Jan 2010 18:38:07 +0000, BCS wrote:

> Hello bearophile,

>> (And it can be positive to define a standard way the D GC talks with
>> the virtual memory subsystem of the operationg system, to avoid useless
>> swaps from and to disk).
> 
> IIRC virtual memeory and swapping has little or nothing to do with OOM
> errors.

On Linux the processes almost always stay on main memory, and only start 
to fill swap when running out of main memory. So unless you have no swap 
set up, OOM cannot happen unless the swap is >95% filled. OOM inside the 
GC's virtual memory space can happen earlier, of course.



More information about the Digitalmars-d mailing list