#cjw6kIt doesn't always work like this in practice. Composer balloons to use a very, very large amount of RAM while chasing a working combination of packages. Consider a 2GB of RAM virtual machine not having enough memory for the process to complete.