Debian (network install) fails on "Installation step failed"

Tried installing Debian by using the netinst feature, but was confronted with the following "Installation step failed" message, during the "Select and install software" phase.

/img/posts/2018/01/17_installation_step_failed.thumbnail.png

Looking into the logfile I read that the issue was with pkgsel. Searching the log I noticed a "FATAL -> Failed to fork."

/img/posts/2018/01/17_fatal_failed_to_fork.thumbnail.png

Then I remembered that I was doing this on a virtual machine and looked at the settings. The memory was set to to 256MB. Increasing the RAM to 384 MB solved this issue. Wanted to share this in case you are also confronted with this memory usage situation.