I run a fairly large search and get a System.OutOfMemoryException exception.
The problem is that I save a string key for every state I previously visited, like HashSet<sting>. As soon as it reaches 7 million elements, it falls. My thought is that I do not need to extract the rows, just find out if it exists in the set.
I seem to remember the specialized data structure for this kind of thing, but I can't remember its name for life. If I remember correctly, he had fairly constant memory requirements, and you add elements to it, and he can say with some degree of certainty whether you added any value to it. I do it, or it exists. Any tips?
source
share