Query which needs more resources

We are running several(30 to 40) queries in one shot using UI . We have optimized the memory settings as below.

maximum_memory -->85% available OS memory
maximum_table_memory -->30% of maximum_memory (Because we are not using any row store tables)

But still we are facing the below issue. Please guide us which query is causing the issue and how to rectify the below issue.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
UnhandledPromiseRejectionWarning: Error: Leaf Error (10.10.0.169:3306): Leaf Error (10.10.0.169:3306): Leaf Error (10.10.0.169:3306): Leaf Error (10.10.0.169:3306): Leaf Error (10.10.0.17:3306): The operating system failed to allocate memory (MemSQL memory use 9471.50 Mb). The request was not processed. See https://docs.memsql.com/troubleshooting/latest/memory-errorsfor additional information
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++