You could use OBS studio edition. It works well, is easy to use, and its completely free. Also, microphones are hardware and need to be bought not downloaded.
The problem would probably have to be your ram (Your general 4 gbs of ram). Try upgrading it to 16, because that is usually the standard for gaming. A similar problem occurs to me with Just Cause 3.