CL_OUT_OF_HOST_MEMORY

I am getting a CL_OUT_OF_HOST_MEMORY error on clCreateContext when my application is first starting up. I’m running recent drivers on Linux and there’s plenty of RAM free. Any help with this issue would be greatly appreciated.

Is it possible to post a sample code and other information(driver version, GPU) here?