When connecting to a database my program sometimes runs into an exception (_com_error - E_OUTOFMEMORY). enter image description here
(_com_error - E_OUTOFMEMORY)
This happens after