First, there is actually a known MS bug that may apply to you. Check out this page:
https://stackoverflow.com/questions/155959/oledbexception-system-resources-exceeded.
That being said... The error literally means what it says - some system resource the query is using is being exceeded. Most often when I see this it's actually around pooled connections. Is this a single query that fails, or a series of queries happening in a loop? Are you repeatedly connecting or using a single connection? Is it one query or a series of queries?
Another article I found that talks about some of the potential connection problems:
https://stackoverflow.com/questions/155959/oledbexception-system-resources-exceededHope this helps!
------------------------------
Robin Toll
Senior Product Consultant
Blue Prism
------------------------------