Some users are executing OQL for regions that are triggering out of memory errors in a huge region. Sorting a query alone triggers an out of memory error.
Is there any configuration to weather restrict the memory footprint or forbid queries for a specific region?
As far as I know, there are not specific ways to restrict memory consumption only for queries.
There are, however, other options that you can use to make the cluster more resilient to these situations (aside from the obvious one: educate your users to not execute things like
SELECT *on huge regions):SecurityManagerfor authentication and authorization, and assignDATA:READ:RegionNamepermissions sparingly to your users. When security is enabled, users trying to executeOQLqueries against a particularRegionNameare required to have theDATA:READ:RegionNameResourcePermission assigned, so you can decide before hand to whom give this privileges. More details here.