I wouldn't even attempt to run the VM itself with only 512MB. SQL Server
uses several hundred MB's of memory for what used to be called MemToLeave
memory which does not show up as usage for SQL Server in task manager. The
Max Memory setting is the memory for the buffer pool that does not count the
MemToLeave area. Meaning that if you told SQL Server to use a Max of 256MB
via the Max Memory setting it will in fact use around 500MB in total. So you
would have to limit the Max Memory to far less than 256 to leave enough for
the OS etc. Which makes it pretty much useless for any real processing. I
don't understand the "due to hardware limitations" part. By adding VMware
you automatically make any limitations of hardware much more limiting.

Signature
Andrew J. Kelly SQL MVP
Solid Quality Mentors
> Due to hardware limitations my SQL server 2005 SP2 runs as a VM. It sits
> on server 2003 and that VM only has 512 RAM dedicated to it. I tried 256
[quoted text clipped - 23 lines]
>>>
>>> childofthe1980s
Given that I've already told SQL Server to use a Max of 256MB, how would I
"limit the Max Memory to far less than 256 "?
Andrew, this is on a laptop on which I have another VM running. I carry the
laptop around with me, and that is what constrains me.
>I wouldn't even attempt to run the VM itself with only 512MB. SQL Server
>uses several hundred MB's of memory for what used to be called MemToLeave
[quoted text clipped - 36 lines]
>>>>
>>>> childofthe1980s
Andrew J. Kelly - 09 Mar 2008 22:27 GMT
You would have to lower the setting of MAX Memory from 256 to ??. But going
too low will limit what you can do with SQL Server without having severe
performance problems. I am afraid you are pushing the limits of what can be
done with the hardware you have and the way in which you choose to configure
it. What I was really asking was why are you using a VM at all? Why don't
you simply run SQL Server directly from the host OS?

Signature
Andrew J. Kelly SQL MVP
Solid Quality Mentors
> Given that I've already told SQL Server to use a Max of 256MB, how would I
> "limit the Max Memory to far less than 256 "?
[quoted text clipped - 42 lines]
>>>>>
>>>>> childofthe1980s
Spin - 09 Mar 2008 23:06 GMT
I am testing everything inside a confined "network" which means everything
has to be installed on VMs. Your comments have given me a sanity check. I
may up the VM to 768 MB RAM. Can you tell me how I "limit the Max Memory"?
> You would have to lower the setting of MAX Memory from 256 to ??. But
> going too low will limit what you can do with SQL Server without having
[quoted text clipped - 49 lines]
>>>>>>
>>>>>> childofthe1980s
Andrew J. Kelly - 10 Mar 2008 01:16 GMT
You can do this via sp_configure or from the properties page of the server
instance in SSMS. Have a look at MAX Memory in BooksOnLine for more details.
I try not to have anything less than 1GB of memory for any virtual instance
these days. There are just too many issues and performance problems that you
have to deal with.

Signature
Andrew J. Kelly SQL MVP
Solid Quality Mentors
>I am testing everything inside a confined "network" which means everything
>has to be installed on VMs. Your comments have given me a sanity check. I
[quoted text clipped - 54 lines]
>>>>>>>
>>>>>>> childofthe1980s
Spin - 10 Mar 2008 01:36 GMT
I suppose I could drop back down to SQL 2000 Server. It's faster (the GUI
is much snappier), less resource-intensive, plus it puts that handy little
green arrow icon in the system tray to give you a good feeling that the SQL
server is running!
> You can do this via sp_configure or from the properties page of the server
> instance in SSMS. Have a look at MAX Memory in BooksOnLine for more
[quoted text clipped - 61 lines]
>>>>>>>>
>>>>>>>> childofthe1980s
Roy Harvey (SQL Server MVP) - 10 Mar 2008 15:19 GMT
>... plus it puts that handy little
>green arrow icon in the system tray to give you a good feeling that the SQL
>server is running!
There is a free version of that tool which implements it for 2005,
Google SQL Server 2005 Service Manager to find it.
Roy Harvey
Beacon Falls, CT
Spin - 10 Mar 2008 17:23 GMT
Thanks Ron! I forgot to mention the other advantage of SQL 2000 - on top of
being faster (snappier GUI), less resource-intensive, and the built-in
little green arrow, it doesn't have that annoying dialog box you get every
time you open SQL Mgmt Studio asking you which SQL instance you want to
connect to!
>>... plus it puts that handy little
>>green arrow icon in the system tray to give you a good feeling that the
[quoted text clipped - 6 lines]
> Roy Harvey
> Beacon Falls, CT