There is some talk about osm2pgsql using too much memory for expire lists. This is something we should look into. Also mentioned in #2185. Independent of any decisions or configuration options that change how expire works, we must always ensure system stability, a process that uses "unbounded" amounts of memory is obviously not okay.
Does anybody have more information about this?