<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Rebuild Indexes keeps running a server out of memory in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-keeps-running-a-server-out-of/m-p/754686#M416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a standard weekly maintenance script that runs Compress, Rebuild Indexes, and Analyze each weekend (python script called from a bat file).&amp;nbsp; It runs fine on 9 of our 10 servers (slight ram increase but not so much it is an issue).&amp;nbsp; But 1 server runs up the memory to the high 90% range then either gives a out of memory error and ends the script or it completes the script but leaves so little memory left that I have to reboot the server after.&amp;nbsp; When I run it manually I can see the ram steadily creep up and up - 2-10% increase for each db it hits - there are just 5 sde dbs.&amp;nbsp; A fresh reboot will run ram from 25% to about 75%.&amp;nbsp; At the end of the week the server is at about 55% and runs to 95-98% then gets mad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most Dbs the rebuild takes 1-4 minutes but I have one db that takes 13 minutes - and this db seems to grow the ram the most.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried everything I can think of but it still happens every single weekend.&amp;nbsp; It has replica copies of the same DBs that other servers have so not sure why this one server has an issue.&amp;nbsp; The rebuilds take about the same about of time as other servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find several bad spatial indexes (9999999 to -9999999 on the extent) and fixed them all but still does it.&amp;nbsp; Have checked all regular extents and all good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then set the max ram in sql but it still goes right past it and runs out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This server is part of a VM that had log issues once that affected memory but that has been all cleaned up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do see that it lists the GeoDB version as 10.1 where we are 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Domain, Resolution, Tolerance tab I have a min Y of -9998099.99992653 and a Mix X of -5120899.99993323 which seems odd.&amp;nbsp; This is a UTM 10 db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas on what I can try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Win 2008 R2 Server Enterprise 64 bit&lt;/P&gt;&lt;P&gt;Arc 10.2.2&lt;/P&gt;&lt;P&gt;SDE MSSQL 2008 R2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 17:16:23 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2015-08-10T17:16:23Z</dc:date>
    <item>
      <title>Rebuild Indexes keeps running a server out of memory</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-keeps-running-a-server-out-of/m-p/754686#M416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a standard weekly maintenance script that runs Compress, Rebuild Indexes, and Analyze each weekend (python script called from a bat file).&amp;nbsp; It runs fine on 9 of our 10 servers (slight ram increase but not so much it is an issue).&amp;nbsp; But 1 server runs up the memory to the high 90% range then either gives a out of memory error and ends the script or it completes the script but leaves so little memory left that I have to reboot the server after.&amp;nbsp; When I run it manually I can see the ram steadily creep up and up - 2-10% increase for each db it hits - there are just 5 sde dbs.&amp;nbsp; A fresh reboot will run ram from 25% to about 75%.&amp;nbsp; At the end of the week the server is at about 55% and runs to 95-98% then gets mad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most Dbs the rebuild takes 1-4 minutes but I have one db that takes 13 minutes - and this db seems to grow the ram the most.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried everything I can think of but it still happens every single weekend.&amp;nbsp; It has replica copies of the same DBs that other servers have so not sure why this one server has an issue.&amp;nbsp; The rebuilds take about the same about of time as other servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find several bad spatial indexes (9999999 to -9999999 on the extent) and fixed them all but still does it.&amp;nbsp; Have checked all regular extents and all good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then set the max ram in sql but it still goes right past it and runs out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This server is part of a VM that had log issues once that affected memory but that has been all cleaned up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do see that it lists the GeoDB version as 10.1 where we are 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Domain, Resolution, Tolerance tab I have a min Y of -9998099.99992653 and a Mix X of -5120899.99993323 which seems odd.&amp;nbsp; This is a UTM 10 db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas on what I can try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Win 2008 R2 Server Enterprise 64 bit&lt;/P&gt;&lt;P&gt;Arc 10.2.2&lt;/P&gt;&lt;P&gt;SDE MSSQL 2008 R2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 17:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-keeps-running-a-server-out-of/m-p/754686#M416</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2015-08-10T17:16:23Z</dc:date>
    </item>
  </channel>
</rss>

