');background-size:contain;background-repeat:no-repeat;background-size:18px 18px;background-position:50% 50%}.mtt-fullscreen-tooltip-window{position:absolute;right:0;bottom:100%;margin-bottom:10px;background-color:#fff;padding:12px;border-radius:10px;max-width:300px;width:80vw;overflow:hidden;-webkit-animation:tooltip .3s ease;animation:tooltip .3s ease;font-family:Roboto,HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}@-webkit-keyframes tooltip{0%{opacity:0;bottom:80%}to{opacity:1;bottom:100%}}@keyframes tooltip{0%{opacity:0;bottom:80%}to{opacity:1;bottom:100%}}.mtt-fullscreen-tooltip-token+.mtt-fullscreen-tooltip-advertiser{margin-top:5px}.mtt-fullscreen-tooltip-token{color:#4141ee;font-size:14px}.mtt-fullscreen-tooltip-advertiser{font-size:12px}.mtt-fullscreen-hidden{display:none}.mtt-fullscreen-overlay{z-index:1;position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.7)}.mtt-fullscreen-container{z-index:2;width:100%;height:100%;text-align:center;position:fixed;top:0;bottom:0;right:0;left:0}.mtt-fullscreen-container.mtt-centered{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media screen and (max-width:600px){.mtt-fullscreen-container.mtt-centered{width:430px;height:600px}}@media screen and (max-width:430px){.mtt-fullscreen-container.mtt-centered{width:410px;height:600px}}@media screen and (max-width:409px){.mtt-fullscreen-container.mtt-centered{width:375px;height:550px}}@media screen and (max-width:374px){.mtt-fullscreen-container.mtt-centered{width:360px;height:530px}}@media screen and (max-width:359px){.mtt-fullscreen-container.mtt-centered{width:320px;height:500px}}@media screen and (max-width:329px){.mtt-fullscreen-container.mtt-centered{width:320px;height:430px}}.mtt-fullscreen-image-container{position:fixed;top:0;bottom:0;right:0;left:0;padding:50px 5% 5%}.mtt-fullscreen-image-container *{-webkit-tap-highlight-color:transparent}.mtt-fullscreen-image{height:100%;width:100%;background-size:contain;background-position:50%;background-repeat:no-repeat;display:none}.mtt-fullscreen-container-html5{width:100%;height:100%;margin:0;padding:0;border:none;outline:none}@media (orientation:landscape){.mtt-fullscreen .mtt-fullscreen-image__landscape{display:block}}@media (orientation:portrait){.mtt-fullscreen .mtt-fullscreen-image__portrait{display:block}}@media screen and (max-width:600px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:430px;height:600px}}@media screen and (max-width:430px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:410px;height:600px}}@media screen and (max-width:409px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:375px;height:550px}}@media screen and (max-width:374px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:360px;height:530px}}@media screen and (max-width:359px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:320px;height:500px}}@media screen and (max-width:329px){.mtt-fullscreen div[class*=yandex_rtb_R-A]{width:320px;height:430px}}
Подскажите как с этим бороться правильно? процесс sqlservr.exe загружает память и занимает много памяти и постоянно объем увеличивается занятой памяти.
Server 2008 r2 Ent
SQL Server 2008 r2 ent
C базами на Вы, поэтому если можно то подробней и внятней расскажите 🙂 где что править нужно:) и должна ли эта память как то освобождаться?
Ответы
в настройках сиквела есть параметры: max server memory/min server memory
через административные представления можно анализировать какие запросы особенно требовательны к памяти, профайлер так же поможет в этом «отлове»
Вот раз о профайлере речь зашла, то дам ссылку на свой доклад о первом знакостве с ним, может будет интересно.
Еще ссылка на работу описание на MSDN.
Все ответы
сиквел отъедает всю доступную память, которая ему необходима. и так же освобождает, когда она ему не нужна. если сиквел постоянно «отъедает» память — значит она ему нужна. Вы можете ограничить для сиквела максимальную память через настройки ( sp_configure ).
PS: но лучше докупить память, провести мониторинг самых тяжелых запросов и оптимизировать их
Sql server windows те 64 жрет память
VM Reserved 33829304 VM Committed 30742368 AWE Allocated 0 Reserved Memory 1024 Reserved Memory In Use 0
VM Reserved 33823544 VM Committed 30736696 AWE Allocated 0 MultiPage Allocator 49344 SinglePage Allocator 4762328
VM Reserved 0 VM Committed 0 AWE Allocated 0 SM Reserved 0 SM Commited 0 SinglePage Allocator 68808 MultiPage Allocator 9016