W logu Windows zobaczymy wpisy:
Error: 17300, Severity: 16, State: 1. (Params:). The error is printed in terse mode because there was error during formatting. Tracing, ETW, notifications etc are skipped.
Error: 17312, Severity: 16, State: 1. (Params:). The error is printed in terse mode because there was error during formatting. Tracing, ETW, notifications etc are skipped.
Error: 33086, Severity: 10, State: 1. (Params:). The error is printed in terse mode because there was error during formatting. Tracing, ETW, notifications etc are skipped.
Naprawa: Uruchomić SQL Server w minimalnej konfiguracji i przy pomocy narzędzia OSQL ustawić prawidłową wartość MAX Server Memory 1. W oknie poleceń Windows wykonać:
sqlservr -f -m -S InstanceName
2. W drugim oknie poleceń wykonać:
osql -S InstanceName -E -Q "exec sp_configure 'max server memory (MB)',2048 reconfigure with override"
Uwaga!
Do wykonania zmiany należy użyć narzędzia OSQL, a nie SQLCMD! Użycie SQLCMD zakończy się błędem:
Error: 701, Severity: 17, State: 130. There is insufficient system memory in resource pool 'internal' to run this query.