Not able to build openCV from source

In my opinion,

  • Increasing RAM, is what solved my problem
    since,

is a system error, not openCV error.