Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

could not allocate enough memory to initialize 'read only memory object

Posted on 2011-09-29
4
Medium Priority
?
1,485 Views
Last Modified: 2012-08-14
I reset my memory settings on my SQL server 2000 Enterprise and now unable to start SQL service.

Event Type:      Error
Event Source:      MSSQLSERVER
Event Category:      (2)
Event ID:      17055
Date:            9/29/2011
Time:            3:45:44 AM
User:            N/A
Computer:      
Description:
17138 :
Could not allocate enough memory to initialize 'ReadOnly memory object'.


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: f2 42 00 00 10 00 00 00   òB......
0008: 09 00 00 00 52 00 4d 00   .....
0010: 47 00 45 00 5a 00 43 00  
0018: 41 00 50 00 00 00 00 00   ....
0020: 00 00                     ..      


0
Comment
Question by:onlinetechie
4 Comments
 
LVL 18

Accepted Solution

by:
x-men earned 2000 total points
ID: 36814075
run sqlservr.exe -f

usage: sqlservr
        [-c] (not as a service)
        [-d file] (alternative master data file)
        [-l file] (alternative master log file)
        [-e file] (alternate errorlog file)
        [-f] (minimal configuration mode)
        [-m] (single user admin mode)
        [-g number] (stack MB to reserve)
        [-k <decimal number>] (checkpoint speed in MB/sec)
        [-n] (do not use event logging)
        [-s name] (alternate registry key name)
        [-T <number>] (trace flag turned on at startup)
        [-x] (no statistics tracking)
        [-y number] (stack dump on this error)
        [-B] (breakpoint on error (used with -y))
        [-K] (force regeneration of service master key (if exists))
0
 
LVL 15

Expert Comment

by:Anuj
ID: 36814171
What setting you did? did you reduced the memory consumption? please share more details.
0
 
LVL 5

Expert Comment

by:MrNetic
ID: 36814458
Could increase mem with -g384 flag :)
0
 

Author Closing Comment

by:onlinetechie
ID: 36818790
Thanks! issue resolved.

>> Restored the backup of the Master database.
>> Found that they have restored the master of some other instance and hence it was not able to find the database files in the location where it is supposed to be.
>> Requested to get back the original master files.
>> Then opened a command prompt and started the SQL Server in minimal configuration using -f.
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>sqlservr -f
>> Connected from another command prompt using osql.
OSQL -S Machine Name -E
>> Ran the following command.
sp_configure 'Max Server Memory', 3078
Reconfigure with override
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

877 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