title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
MSSQLSERVER_4846 |
MSSQLSERVER_4846 |
MashaMSFT |
mathoma |
04/04/2017 |
sql |
supportability |
reference |
|
[!INCLUDE SQL Server]
Attribute | Value |
---|---|
Product Name | SQL Server |
Event ID | 4846 |
Event Source | MSSQLSERVER |
Component | SQLEngine |
Symbolic Name | BULKPROV_MEMORY |
Message Text | The bulk data provider failed to allocate memory. |
Memory allocation failed.
Follow these general steps to troubleshoot memory errors:
-
Verify whether other applications or services are consuming memory on this server. Reconfigure less critical applications or services to consume less memory.
-
Start collecting performance monitor counters for SQL Server: Buffer Manager, SQL Server: Memory Manager.
-
Check the following SQL Server memory configuration parameters:
-
max server memory
-
min server memory
-
min memory per query
Notice any unusual settings. Correct them as necessary. Account for memory requirements for [!INCLUDEssnoversion]. Default settings are listed in "Setting Server Configuration Options" in SQL Server Books Online.
-
-
Observe DBCC MEMORYSTATUS output and the way it changes when you see these error messages.
-
Check the workload (for example, number of concurrent sessions, currently executing queries).
The following actions may make more memory available to [!INCLUDEssNoVersion]:
-
If applications besides SQL Server are consuming resources, try stopping running these applications or consider running them on a separate server. This will remove external memory pressure.
-
If you have configured max server memory, increase its setting.
Run the following DBCC commands to free several [!INCLUDEssNoVersion] memory caches.
-
DBCC FREESYSTEMCACHE
-
DBCC FREESESSIONCACHE
-
DBCC FREEPROCCACHE
If the problem continues, you will need to investigate further and possibly reduce workload.