S
S
squidw2017-02-04 18:48:06
Windows Server
squidw, 2017-02-04 18:48:06

How to set "max memory size" in MS SQL Server 2012?

Set the value of "maximum memory size" in SSMS to 0 (zero) now, the MSSQLSERVER service lives for 10 seconds at startup and stops. I can't connect via sqlcmd either. Is there a given parameter that is written in any file that can be edited? Or how to return the default value of the memory, because I essentially put the server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
squidw, 2017-02-09
@squidw

I close
the question just in memory,
just when I figured this out, I had to run sqlserver as an application with the attributes of a single autonomous instance and manually set the required amount of memory via sqlcmd, returning the original value:
1) sqlservr -F -M
2) SQLCMD -E
3) sp_configure 'max server memory', %your RAM value%;
GO

K
Konstantin Tsvetkov, 2017-02-04
@tsklab

MSSQLSERVER service lives for 10 seconds at startup
You need to read the reason for the stop in the MS SQL log. Perhaps the memory is not to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question