SQLServer using too much memory

Posted by Israel Pereira Valverde on Stack Overflow See other posts from Stack Overflow or by Israel Pereira Valverde
Published on 2012-09-20T12:34:08Z Indexed on 2012/09/27 15:37 UTC
Read the original article Hit count: 237

I have installed on my desktop machine (with windows 7) SQLServer 2008 R2 Express. I have only one local server running (./SQLEXPRESS) but the sqlserver process is taking ALL the RAM possible.

With an machine with 3GB of RAM the things starts to get slow, so I limited the maximun amount of RAM in the server, and now, constantly the SQLServer give some error messages that the memory is not enought. It's using 1GB of RAM with only one LOCAL server with 2 databases completely empty, how 1GB of RAM isn't enought ?

When the process start it's using an really acceptable amount of memory (around 80MB) but it's keep increasing until it reaches the maximun defined and start to complain about having not enought memory available. In that point I have to restart the server to use it again.

I have read about an hotfix to solve one of the errors I got from sqlserver:

There is insufficient system memory in resource pool 'internal' to run this query

But it's already installed on my sqlserver.

Why it's using so much memory?

© Stack Overflow or respective owner

Related posts about database

Related posts about memory-management