If you use 32 bit Windows system, then execute the following in the command prompt:-
1. Go to the bin directory of MongoDB using the command
cd C:\ProgramFile\MongoDB\Server\3.x\bin
2. Type the following command
mongod.exe --storageEngine=mmapv1
and click Enter. It will solve the error. Thanks!