Need suggestions

When I compile my CUDA code, why NVCC is not making use of 80 -100 % of my available memory? Instead it starts off with very small value & it takes several minutes to reach 90% … Any thoughts will be helpful