Is there anyway to expand or resize the MemToleave memory area without restarting the sql server when the following error appears:
OLE DB provider 'SQLOLEDB' reported an error. The provider ran out of memory.
It happened on a QA server when running a query on a linked server and the issue only disappeared after rebooting.
I have read it is possible to resize this area of memory using SQL startup parameter -g, but I need to find a way to get rid of this problem in seconds if it happens in Production.
Thanks,
Jose