# NAS taking more and more memory

**URL:** <https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764>\
**Category:** Developers Forum\
**Created:** [March 4, 2005, 12:21pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764 "2005-03-04T12:21:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bs602327](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bs602327](https://www.dynamicsuser.net/u/bs602327)\
**Post date:** [March 4, 2005, 12:21pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/1 "2005-03-04T12:21:56Z")

</div>

I have 2 NAS running on a SQL-server database (3.60). They run a single-instance codeunit with a timer. So each time the timer is called, the nassql.exe process takes a bit more memory. This goes on and on, so in the end we need to restart the NAS because the server is slowing down too much. Anyone experienced this before and knows a solution ? Thanks in advance

---

<div class="post-metadata">

**Author:** ![bs602327](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bs602327](https://www.dynamicsuser.net/u/bs602327)\
**Post date:** [March 10, 2005, 8:04am UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/2 "2005-03-10T08:04:47Z")

</div>

After testing I come to the following conclusion : every time I use an Automation variable the memory builds up. Clearing the variable after usage has no effect at all. Any suggestions ?

---

<div class="post-metadata">

**Author:** ![thomasbrodkorb](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@thomasbrodkorb](https://www.dynamicsuser.net/u/thomasbrodkorb)\
**Post date:** [March 10, 2005, 12:32pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/3 "2005-03-10T12:32:01Z")

</div>

I guess that you define the automation variable as a global ? What automation servers are you using ?

---

<div class="post-metadata">

**Author:** ![bs602327](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bs602327](https://www.dynamicsuser.net/u/bs602327)\
**Post date:** [March 10, 2005, 12:37pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/4 "2005-03-10T12:37:20Z")

</div>

Changed them to local, but this had no effect. I use the Microsoft CDO 1.21 Library.

---

<div class="post-metadata">

**Author:** ![thomasbrodkorb](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@thomasbrodkorb](https://www.dynamicsuser.net/u/thomasbrodkorb)\
**Post date:** [March 10, 2005, 1:07pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/5 "2005-03-10T13:07:26Z")

</div>

Are you using the automation server in the single instance CU ?

---

<div class="post-metadata">

**Author:** ![bs602327](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bs602327](https://www.dynamicsuser.net/u/bs602327)\
**Post date:** [March 10, 2005, 1:37pm UTC](https://www.dynamicsuser.net/t/nas-taking-more-and-more-memory/9764/6 "2005-03-10T13:37:02Z")

</div>

yes, I do
