When I execute my SQL , I get the error "Insufficient resources to execute plan on pool general [Request Too Large:Memory(KB) Exceeded: Requested = 1371544, Free = 847867 (Limit = 850091, Used = 2224)]".
I have 3 nodes each with 3 GB of RAM. How can i restrict the query to use the avaibale memory and I am fineif the query takes longer time to execute.