Unable to install Ubuntu alongside Windows

I am trying to install Ubuntu 18.04 alongside windows. I have unallocated disk space of 150 GB for Ubuntu installation. When I tried installing ubuntu using live USB, I get an error message “unable to install, requires 8 GB of disk space for installation”. Kindly help in providing a solution to this problem.