SQL Server 2000 Memory issue

EKKC

Diamond Member
May 31, 2005
5,895
0
0
SQL Server takes up 1.7GB of the available 4GB RAM (8GB pagefile total now) on a server i have here... after leaving it on running without reboot for a few months...

besides rebooting, is there a way to make SQL release some of the memory? on reboot it only takes up a few hundred MBs...

:(
 

EKKC

Diamond Member
May 31, 2005
5,895
0
0
actually never mind, used google and checked a few articles. this is normal behavior and not a memory leak... oh well
 

Gunslinger08

Lifer
Nov 18, 2001
13,234
2
81
Don't forget to use Connection.Close() in your code. Those open connections can destroy a server.
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Originally posted by: bunker
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!

:confused:

It's a DBMS. Why would you put 4 GB of RAM on a DB server and not want the DBMS to use it?
 

Gunslinger08

Lifer
Nov 18, 2001
13,234
2
81
Originally posted by: MrChad
Originally posted by: bunker
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!

:confused:

It's a DBMS. Why would you put 4 GB of RAM on a DB server and not want the DBMS to use it?

A lot of small to mid-sized companies don't use dedicated DB servers, especially for development. It may also be running an Exchange Server, CMS or CRM Server, or many other things.
 

BoberFett

Lifer
Oct 9, 1999
37,562
9
81
Originally posted by: joshsquall
Originally posted by: MrChad
Originally posted by: bunker
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!

:confused:

It's a DBMS. Why would you put 4 GB of RAM on a DB server and not want the DBMS to use it?

A lot of small to mid-sized companies don't use dedicated DB servers, especially for development. It may also be running an Exchange Server, CMS or CRM Server, or many other things.

Yeah, and a lot of small companies are asking for trouble. If you can afford the licenses for SQL Server, you can afford to get a separate server for database and mail. I've been at a company that ran several vital services on the same server, and it's just asking for trouble.
 

Gunslinger08

Lifer
Nov 18, 2001
13,234
2
81
Originally posted by: BoberFett
Originally posted by: joshsquall
Originally posted by: MrChad
Originally posted by: bunker
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!

:confused:

It's a DBMS. Why would you put 4 GB of RAM on a DB server and not want the DBMS to use it?

A lot of small to mid-sized companies don't use dedicated DB servers, especially for development. It may also be running an Exchange Server, CMS or CRM Server, or many other things.

Yeah, and a lot of small companies are asking for trouble. If you can afford the licenses for SQL Server, you can afford to get a separate server for database and mail. I've been at a company that ran several vital services on the same server, and it's just asking for trouble.

SQL Server is very cheap/free if you have an MSDN subscription or you are a Microsoft Partner. For low traffic servers, I can understand saving money by running several things on one server.
 

BoberFett

Lifer
Oct 9, 1999
37,562
9
81
Originally posted by: joshsquall
SQL Server is very cheap/free if you have an MSDN subscription or you are a Microsoft Partner. For low traffic servers, I can understand saving money by running several things on one server.
The SQL Server that comes with MSDN is only licensed for development use, not a production evironment.
 

Gunslinger08

Lifer
Nov 18, 2001
13,234
2
81
Originally posted by: BoberFett
Originally posted by: joshsquall
SQL Server is very cheap/free if you have an MSDN subscription or you are a Microsoft Partner. For low traffic servers, I can understand saving money by running several things on one server.
The SQL Server that comes with MSDN is only licensed for development use, not a production evironment.

Okay? That's what I'm talking about. As a general guideline, clients usually don't buy MSDN subscriptions. They buy individual software, where they are footing the bill. For development, sharing servers is okay. If you have less than a thousand people in your office, you'll probably never even notice any performance problems. Updates/downtime will affect all shared systems, but these should occur during non-peak hours anyway.
 

BoberFett

Lifer
Oct 9, 1999
37,562
9
81
Originally posted by: joshsquall
Originally posted by: BoberFett
Originally posted by: joshsquall
SQL Server is very cheap/free if you have an MSDN subscription or you are a Microsoft Partner. For low traffic servers, I can understand saving money by running several things on one server.
The SQL Server that comes with MSDN is only licensed for development use, not a production evironment.

Okay? That's what I'm talking about. As a general guideline, clients usually don't buy MSDN subscriptions. They buy individual software, where they are footing the bill. For development, sharing servers is okay. If you have less than a thousand people in your office, you'll probably never even notice any performance problems. Updates/downtime will affect all shared systems, but these should occur during non-peak hours anyway.

So you'd run your mail server on the same server as your development SQL? :confused:
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
Originally posted by: MrChad
Originally posted by: bunker
Set SQL server to use a fixed amount of ram. That's what I do. That pig of a program doesn't need all 4 gigs dammit!

:confused:

It's a DBMS. Why would you put 4 GB of RAM on a DB server and not want the DBMS to use it?

Because we run a geospatial application server on it that also needs some ram. The software must run on the same box as the RDBMS and requires some of that memory as well. There are many similar situations.