Solved

sql2008 freeze due to low memory

Posted on 2012-03-14
3
308 Views
Last Modified: 2012-03-15
I can't login to sql server now due to low memory, when I check the error log it found following:

2012-03-15 07:29:24.12 spid59      Configuration option 'max server memory (MB)' changed from 30000 to 16. Run the RECONFIGURE statement to install.

what I can do now to again login to sql and change memory to bigger size ?
0
Comment
Question by:motioneye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 37723594
I'd restart the service to unload all currently used memory and then quickly jump in and change the max server memory...

http://msdn.microsoft.com/en-us/library/ms191144.aspx
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37723598
somehow the minimum memory assigned automatically by SQL has been assigned in your case.

Use the following:-
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'max server memory', 4096;
GO
RECONFIGURE;
GO

Here is a link that tells you how to modify the same:-
http://msdn.microsoft.com/en-us/library/ms178067.aspx
http://www.sqlservercentral.com/blogs/glennberry/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008/

Here are some other utility links for your help:-
http://msdn.microsoft.com/en-us/library/ms180797.aspx
0
 
LVL 9

Expert Comment

by:sachinpatil10d
ID: 37723609
Enable advanced options:
USE master
EXEC sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE

Open in new window

To set a max server memory limit of 1 GB depending on your RAM:
USE master
EXEC sp_configure 'max server memory (MB)', 1024
RECONFIGURE WITH OVERRIDE

Open in new window

Display new set configuration:
USE master
EXEC sp_configure 'max server memory (MB)'

Open in new window

Disable advanced options:
USE master
EXEC sp_configure 'show advanced options', 0
RECONFIGURE WITH OVERRIDE

Open in new window

0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question