Can you provide a stacktrace so we can a hint of what might be the problem.
Hi,
How big is the largest document you have indexed? Both the Index overview and your query (using MaxTakeValue) need to be able to store the entire resultset in memory. If you have large documents and fetch them all at once this might give you problems. As for the Index overview you simply need more memory but for your query there are two things you can do:
1. Don't fetch all documents at once by using MaxTakeValue instead page them when needed using Skip + Take.
2. Limit the fields you fetch when querying by using Select() and only fetch the properties that you need and not the entire document.
You don't have to fetch all results to know the total number of hits, just use 'result.TotalMatching' as it will return the total number of matching documents.