Do you mean OOM on the server or on the client? On server you indeed will need some spare space for any ongoing operations (not only queries, actually). You should make sure that this space is enough for you load. On client you should not get OOM because results are sent in pages (unless you call QueryCursor.getAll). If you iterate through the cursor, you will have only one page in client memory at a time which is 1024 rows by default.
Query cancellation and timeout will be available in 1.8: https://issues.apache.org/jira/browse/IGNITE-2680 -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Limit-the-number-of-results-query-tp9002p9007.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.