Unable allocate min server memory size to greater than 1GB


    Sponsored Links


    Dir Sir/Madam, I have a problem with the function "IDENT_CURRENT ('table_name')" in SQL Server 2000. That is: When the parameter of 'table_name' is a table which is never been generated an identity for none of its columns, According to the Transact-SQL Reference, IDENT_CURRENT function should return NULL, but it doesn't return NULL and return 1. Here is my Example: CREATE TABLE [dbo].[Matter] ( [M#] [tinyint] IDENTITY (1, 1) NOT NULL , [Title] [nvarchar] (50) COLLATE Arabic_CI_AS NOT NULL , [AppUNo] [tinyint] NULL , [DT] [datetime] NULL ) ON [PRIMARY] GO ALTER TABLE [dbo].[Matter] WITH NOCHECK ADD CONSTRAINT [PK_Matter] PRIMARY KEY CLUSTERED ( [M#] ) ON [PRIMARY] GO ALTER TABLE [dbo].[Matter] ADD CONSTRAINT [IX_Matter] UNIQUE NONCLUSTERED ( [Title] ) ON [PRIMARY] GO DECLARE @LastIdentity tinyint SET @LastIdentity = IDENT_CURRENT('Matter'); SELECT @LastIdentity; GO Result: ---- 1 (1 row(s) affected) I'll be thankful if you guide me, and tell me whether it's SQL Server 2000 Bug or another problem with other settings or using it in improper way. Thank you so much.
  • 2. sp3
    Help! I have SQL 2000 SP2 installed. I try to install SP3 and I immediately get this message: setup initialization error access is denied source: 'f:\SQL2000_SP3a\X86\setup\sqlspre.ini Target: 'C:\docume~1\admini~1\LOCALS~1\Temp\setupsql.inf' Any ideas?
  • 3. scripting out comments from sp
    hello all i am looking to build a documentation process for our store procedures. i would like to have a process which would script all th procedures in a given database each night, then it would read th comments and put it them into a documentation database, i already hav the table structure for the documentation database i envision putting comment tags in the procedure like ~description ~author ~change.notes the script would run through and parse these variables and put the into the documentation database. i searched around for this but could not find a good example. any suggestions nicholas.gadac
    Hello, Can someone tell me how to insert text into a table containing a TEXT field? How to update? I would like to create a stored procedure that take a text parameter and inserts it into a new column in my table. Then do the same stored procedure but this time to update the TEXT field. HELP! Yama
  • 5. equivalent to "GO" stored procedure
    Hello, I am using the "go" statement in the Query Analyzer with the following. ALTER TABLE tblWinLossMartAgr ALTER COLUMN FiscalQtr VARCHAR(255) NOT NULL ALTER TABLE tblWinLossMartAgr ALTER COLUMN Region VARCHAR(255) NOT NULL ALTER TABLE tblWinLossMartAgr ALTER COLUMN CustomerName VARCHAR(255) NOT NULL GO ALTER TABLE tblWinLossMartAgr ADD CONSTRAINT pk_WinLossMartAgr PRIMARY KEY CLUSTERED (FiscalQtr, Region, CustomerName) I need to move this to a stored procedure. Is there an equivalent to the "go" statement? -- Thanks in advance, Steven

Unable allocate min server memory size to greater than 1GB

Postby Sm9lIE5hbQ » Thu, 30 Mar 2006 15:58:01 GMT

I have installed a SQL Sever 2000 Standard Edition with Service Pack 4 on a 
Windows 2003 Standard Server with 2GB memory. But it does not allow me to set 
 the min server memory size that is greater than 1GB.  Do any one know what 
the problem is ? Thx.

Re: Unable allocate min server memory size to greater than 1GB

Postby oj » Thu, 30 Mar 2006 17:52:18 GMT

do you get an error? can you set it via sp_configure? technically, your sql 
can use up to 2GB on win2k3 std. though, this would be unwise 'cuz you have 
to leave some for the OS.


Re: Unable allocate min server memory size to greater than 1GB

Postby QW5keSBQcmljZQ » Thu, 30 Mar 2006 23:30:03 GMT

Check the setting for 'max server memory'. 'min server memory' will not be 
allowed to exceed that. Also, with /3gb enabled, 1gb is reserved for the 
Windows kernel. Ensure that in your boot.ini that /3gb or /pae are NOT 
enabled as 2gb of RAM is too low to be using those options (both eat more 
free memory for the extra memory structures).

Andy Price,
Sr. Database Administrator,
MCDBA 2003

Re: Unable allocate min server memory size to greater than 1GB

Postby Q2hpIEh1bmc » Fri, 31 Mar 2006 11:58:02 GMT

I represent Joe Nam to revise the question.
1. our sql server have set "use a fixed memory size" to 1800M, since the 
total memory of sql server exist 2G.
2. We don't know why the usage of physical memory only allocate below 1G of 
Please kindly advise the problem of our sql server setting.
Thank you for all advanced experts.
Chi Hung

Similar Threads:

1.unable to allocate 'min server memory'

I have SQL2000 Enterprise running on a Win2003 Enterprise machine, with 16GB
of ram....and no other applications. I start the database up and get an
error "unable to allocate 'min server memory'", which doesn't allow the DB
to startup unless I bring the setting down to around 1GB.. Any idea why this
would occur, if I have this much ram?

Thanks for your help

2.Warning: unable to allocate 'min server memory'

I have a Win2k3 EE server with SQL2000EE with 8GB of RAM. /PAE and /3GB
are enabled as well as AWE. Max mem is set to 6144 as is min however
after a reset of the server this warning is appearing:
Warning: unable to allocate 'min server memory'

3.SQL2005: Unable to allocate enough memory to start 'Query Processor'

Hi All,

I am using SQL Server 2005. It was working fine.
However all of a sudden I am getting following error.

It fails to start the MSSQLSERVER and SQL Server Agent services with and
error: The request failed or the service did not respond in a timely
fashion. Consult the event log or other applicable error logs for details.

In the log I discover other error:

  a.. Unable to allocate enough memory to start 'Query Processor'. Reduce
non-essential memory load or increase system memory.
Any help or pointer?

Thanks in advance

4.max server memory and min server memory (MB) setting

should these parameters be left to the server or should we set the min - max 
according to let's say 90 percent of phyisical memory.

5.Warning: unable to allocate 'min server memory' of 2000MB.

Are you using 2000 server or advanced server. The /3g is not supported in
2000 server
"Carrasco" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
> Hi,
> I have a Windows 2000 Server with 4GB RAM, I set in the boot.ini file the
parameter multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Server" /fastdetect /3GB
> In SQL I set min server memory to 2000 and Max server memory to 2800 -
When I restarted my machine when Sql started i received the following
message in the sql server log  Warning: unable to allocate 'min server
memory' of 2000MB.

6. Warning: unable to allocate 'min server memory' of 2258MB.

7. Table Size greater than DB size ?

8. Error setting the "min server memory" SQL Server 2000 parameter



Who is online

Users browsing this forum: No registered users and 59 guest