Enough RAM

I thought that my Linux machine had enough RAM until I ran a Python script:

$ free
               total        used        free      shared  buff/cache   available
Mem:        48997580    47784908      648812      276644      563860      427756
Swap:       38221120    22510336    15710784

Time to start thinking about optimization.