040005 : Not enough memory (neighbors).
Description
Not enough memory is available to compute results using the current number of neighbors.
Solution
Use a subset of the data or alter the search neighborhood by changing the number of neighbors or alter the search neighborhood by changing its size and shape.
6/6/2013