Skip to content

Allocating 100 GB on a 16 GB machine

A program successfully allocates a 100 GB array on a machine with 16 GB of RAM and no swap. It only fails later, when it starts filling it.

Why does the allocation succeed?