{"id":1451,"date":"2014-08-12T07:58:04","date_gmt":"2014-08-12T14:58:04","guid":{"rendered":"https:\/\/www.netometer.com\/blog\/?p=1451"},"modified":"2025-10-21T17:46:03","modified_gmt":"2025-10-22T00:46:03","slug":"video-sql-server-2014-express-actual-memory-limit","status":"publish","type":"post","link":"https:\/\/www.netometer.com\/blog\/?p=1451","title":{"rendered":"Video: SQL Server 2014 Express Actual Memory Limit"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div class=\"gk-legend\" data-style=\"style3\"><strong>Free Video :<\/strong><strong>Notes from the Field:<br \/>\nDon&#8217;t be surprised if your SQL Server 2014 Express instance uses more than 1600MB memory<br \/>\n<\/strong><\/div>\n<p>The official SQL Server 2014 Express edition memory limit is 1GB per instance &#8211; that is, strictly speaking, the buffer cache restriction. In 2010, the SQL Server MVP Pawel Potasinski <a href=\"http:\/\/sqlgeek.pl\/2010\/08\/23\/pl-sql-server-limity-w-sql-server-2008-r2-express-edition\/\" target=\"_blank\" rel=\"noopener\">confirmed<\/a> that SQL Server 2008 R2 Express edition, which has the same 1GB memory limit, can actually use about 1400MB of memory. His post is in Polish, so you might have to use Google translate, but the script that he uses and the results are easy to interpret. <\/p>\n<p>In a similar way the SQL Server Pro Kevin Kline <a href=\"http:\/\/sqlblog.com\/blogs\/kevin_kline\/archive\/2013\/03\/28\/squishy-limits-in-sql-server-express-edition.aspx\" target=\"_blank\" rel=\"noopener\">confirmed<\/a> that SQL Server 2012 Express Edition memory working set size can grow around 1.4-1.5GB.<\/p>\n<p>Naturally, with the release of SQL Server 2014 Express edition, it is interesting to check what is the actual memory limit. We&#8217;ve used the same script that Kevin Kline posted on his blog:<\/p>\n<p>SELECT<br \/>\n CASE<br \/>\n WHEN database_id = 32767 THEN &#8216;mssqlsystemresource&#8217;<br \/>\n ELSE DB_NAME(database_id)<br \/>\n END AS [Database],<br \/>\n CONVERT(numeric(38,2),(8.0 \/ 1024) * COUNT(*)) AS [MB in buffer cache]<br \/>\nFROM sys.dm_os_buffer_descriptors<br \/>\nGROUP BY database_id<br \/>\nORDER BY 2 DESC;<br \/>\nGO<\/p>\n<p>&#8212; Assess amount of tables resident in buffer cache<br \/>\nSELECT<br \/>\n QUOTENAME(OBJECT_SCHEMA_NAME(p.object_id)) + &#8216;.&#8217; +<br \/>\n QUOTENAME(OBJECT_NAME(p.object_id)) AS [Object],<br \/>\n CONVERT(numeric(38,2),(8.0 \/ 1024) * COUNT(*)) AS [MB In buffer cache]<br \/>\nFROM sys.dm_os_buffer_descriptors AS d<br \/>\n INNER JOIN sys.allocation_units AS u ON d.allocation_unit_id = u.allocation_unit_id<br \/>\n INNER JOIN sys.partitions AS p ON (u.type IN (1,3) AND u.container_id = p.hobt_id) OR (u.type = 2 AND u.container_id = p.partition_id)<br \/>\nWHERE d.database_id = DB_ID()<br \/>\nGROUP BY QUOTENAME(OBJECT_SCHEMA_NAME(p.object_id)) + &#8216;.&#8217; + QUOTENAME(OBJECT_NAME(p.object_id))<br \/>\nORDER BY [Object] DESC;<br \/>\nGO<\/p>\n<p>&#8212; Fill up Express Edition&#8217;s buffer allocation<br \/>\nIF OBJECT_ID(N&#8217;dbo.test&#8217;, N&#8217;U&#8217;) IS NOT NULL<br \/>\n DROP TABLE dbo.test;<br \/>\nGO<\/p>\n<p>CREATE TABLE dbo.test (col_a char(8000));<br \/>\nGO<\/p>\n<p>INSERT INTO dbo.test (col_a)<br \/>\n SELECT REPLICATE(&#8216;col_a&#8217;, 8000)<br \/>\n FROM sys.all_objects<br \/>\n WHERE is_ms_shipped = 1;<\/p>\n<p>CHECKPOINT;<br \/>\nGO 100<\/p>\n<p>select scheduler_id,cpu_id, status, is_online from sys.dm_os_schedulers where status=&#8217;VISIBLE ONLINE&#8217;<\/p>\n<p>select cpu_count from sys.dm_os_sys_info<\/p>\n<p>You can download the [tip label=&#8221;script&#8221; style=&#8221;1&#8243; href=&#8221;https:\/\/www.netometer.com\/downloads\/SQL-Test.txt&#8221;]SQL-Test.txt <img decoding=\"async\" alt=\"SQl Server 2014 Express Memory Limit\" src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/script-icon.jpg\" width=\"25\" height=\"27\" \/>[\/tip] that we are using in the demo.<\/p>\n<p>[raw]In the following short video, we demonstrate that the actual SQL Server 2014 Express memory limit is over 1600MB. In addition, you will see how the &#8220;1 Socket\/4 Cores&#8221; restriction is applied when running SQL Server 2014 Express on a Virtual Machine.[\/raw]<\/p>\n<div id=\"kgvid_kgvid_0_wrapper\" class=\"kgvid_wrapper\">\n\t\t\t<div id=\"video_kgvid_0_div\" class=\"fitvidsignore kgvid_videodiv\" data-id=\"kgvid_0\" data-kgvid_video_vars=\"{&quot;id&quot;:&quot;kgvid_0&quot;,&quot;attachment_id&quot;:1457,&quot;player_type&quot;:&quot;Video.js v8&quot;,&quot;width&quot;:&quot;800&quot;,&quot;height&quot;:&quot;600&quot;,&quot;fullwidth&quot;:&quot;false&quot;,&quot;fixed_aspect&quot;:&quot;false&quot;,&quot;countable&quot;:true,&quot;count_views&quot;:&quot;quarters&quot;,&quot;start&quot;:&quot;&quot;,&quot;autoplay&quot;:&quot;false&quot;,&quot;pauseothervideos&quot;:&quot;false&quot;,&quot;set_volume&quot;:&quot;1&quot;,&quot;muted&quot;:&quot;false&quot;,&quot;meta&quot;:true,&quot;endofvideooverlay&quot;:&quot;&quot;,&quot;resize&quot;:&quot;true&quot;,&quot;auto_res&quot;:&quot;automatic&quot;,&quot;pixel_ratio&quot;:&quot;true&quot;,&quot;right_click&quot;:&quot;on&quot;,&quot;playback_rate&quot;:&quot;false&quot;,&quot;title&quot;:&quot;SQL 2014 Express Memory Limit More than 1GB&quot;,&quot;skip_buttons&quot;:[],&quot;nativecontrolsfortouch&quot;:&quot;true&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;enable_resolutions_plugin&quot;:false}\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/SQL-2014-Express-Memory-Limits_thumb38.jpg\"><meta itemprop=\"embedUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/SQL-2014-Express-Memory-Limits.mp4\"><meta itemprop=\"contentUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/SQL-2014-Express-Memory-Limits.mp4\"><meta itemprop=\"name\" content=\"SQL 2014 Express Memory Limit More than 1GB\"><meta itemprop=\"description\" content=\"Video\"><meta itemprop=\"uploadDate\" content=\"2014-08-12T07:41:54-07:00\">\n\t\t\t\t<video id=\"video_kgvid_0\" playsinline controls preload=\"metadata\" poster=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/SQL-2014-Express-Memory-Limits_thumb38.jpg\" width=\"800\" height=\"600\" class=\"fitvidsignore video-js kg-video-js-skin\">\n\t\t\t\t\t<source src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/SQL-2014-Express-Memory-Limits.mp4?id=0\" type=\"video\/mp4\" data-res=\"600p\">\n\t\t\t\t<\/video>\n\t\t\t<\/div>\n\t\t\t<div style=\"display:none\" id=\"video_kgvid_0_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover \">\n\t\t\t\t<span class='kgvid_meta_icons'><\/span>\n\t\t\t\t<span id='video_kgvid_0_title' class='kgvid_title'>SQL 2014 Express Memory Limit More than 1GB<\/span>\n<\/div>\n\t\t<\/div>\n<ul data-style=\"style5\">\n<li><a title=\"How to Install SharePoint Foundation 2013 with SQL Server 2014 Express\" href=\"https:\/\/www.netometer.com\/blog\/?p=1442\" target=\"_blank\" rel=\"noopener\">How to Install SharePoint Foundation 2013 with SQL Server 2014 Express<\/a><\/li>\n<li><a title=\"How to Install and Configure Remote Blob Storage in SharePoint 2013 and SQL Server 2014.\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/SharePoint-2013-SQL-2014-Remote-Blob-Storage\" target=\"_blank\" rel=\"noopener\">How to Install and Configure Remote Blob Storage in SharePoint 2013 and SQL Server 2014.<\/a><\/li>\n<li><a title=\"How to Start and Configure SharePoint Foundation 2010 Search\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/Configure-Start-SharePoint-Foundation-Search\" target=\"_blank\" rel=\"noopener\">How to Start and Configure SharePoint Foundation 2010 Search<\/a><\/li>\n<li><a title=\"How to Install and Configure Search Server 2010 Express\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Install-and-Configure-Search-Server-Express\" target=\"_blank\" rel=\"noopener\">How to Install and Configure Search Server 2010 Express<\/a><\/li>\n<\/ul>\n<p><a class=\"twitter-hashtag-button\" title=\"SQL 2014\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=SQL2014\">Tweet #SQL2014<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the following short video, we demonstrate that the actual SQL Server 2014 Express memory limit is over 1600MB.<\/p>\n","protected":false},"author":1,"featured_media":1458,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[343,325],"tags":[434,435,433],"_links":{"self":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1451"}],"collection":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1451"}],"version-history":[{"count":0,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1451\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1458"}],"wp:attachment":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}