Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 3rd, 2006, 04:23 AM
Registered User
Join Date: Jul 2006
Location: , , Romania.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error: 17803 Insufficient memory available

Dear all,

We are having hard time with our SQL Server 2000 Standard Edition.

These are a vew of the errors we are receiving:

When trying to start a job in EM/MS, or running some complex SPs:
Unable to post notification to SQLServerAgent (reason: MapViewOfFile() returned error 8, 'Not enough storage is available to process this command.')

In the SQL Server log when starting we get the warning:
Warning: unable to allocate 'min server memory' of 2000 MB.

After 1-2 days of work:
"Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"

This and other DLL's when performing several actions in EM (like the properties of the server, etc):
Cannot load the DLL xplog70.dll 8 (Not enough storage is available to process this command

SQL Server Profiler receives the following error after logging in (when displaying the trace grid):
Failed to read trace data.
Unspecified error .... (in Profiler 2000)
An unspecified error... (in Profiler 2005)

Event Viewer errors:
17120 :
SQL Server could not spawn process_loginread thread.
Every 5-15 mins:
Error: 17803, Severity: 20, State: 12
Insufficient memory available.


This is our Server:
Windows 2003 Server Standard Edition, 4 processors, 4 GB RAM, more than half of free space on each Disk. It is a dedicated server. No other applications are running on the same server, but SQL.

SQL Server2000 Standard Edition, configured to use fixed 2000 MB RAM, all 4 processors.

We have one main DB that is set, like all the other ones to grow auto matically.

We have cleared all the logs from both the SQL server and SQL server agent.

Questions: Why can't the server allocate the 2000 MB RAM? We have tried with 1000MB and we get no more warning in the log. I have tried with 1999MB. Sometimes I get the error sometimes I don't. With 2000, I always get the error. When SQL Server Agent is not started together with SQL the error does not always appear if the memory is set below 2000 MB (<2000 MB)

I have tried also system managed virtual memory size. The problems reain the same.

We used to believe it's the transaction log of our main DB. and we truncated it. Our complete backup is running every week. The differential is running dayly.
this is what we used ( BACKUP LOG dbname WITH TRUNCATE_ONLY )

The problems stop appearing if the server is restarted, but they appear back in less than one day.

Thank you in advance!

Old July 4th, 2006, 12:40 AM
Authorized User
Join Date: Mar 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts


The errors indicate that your tempdb is getting filled up due to over-utilization of temp tables and other cases. You should allocate better space for TempDB.
Someone may have configured memory per query of Server option. If you require more specify it.
I am sure there is problem with tempdb, because, as you know restarting is helping you.

Try to allocate better space for tempdb. Also configure the server using EM to get better results.
-Som Dutt

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: 17803 : Insufficient memory available... jaikanth_n SQL Server 2000 3 June 6th, 2006 05:35 AM
5097: There is insufficient memory. roshni0707 VBScript 3 February 3rd, 2005 05:38 AM
There is insufficient memory. Save the document malathi2k VBScript 1 November 9th, 2004 08:37 AM
insufficient memory problem while using word thro rraji Visual C++ 0 October 21st, 2004 09:43 PM
5097: There is insufficient memory. roshni0707 Beginning VB 6 2 September 17th, 2004 10:40 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.