Administrator
  •  Admin
  • Advanced Member Topic Starter
2004-06-09T16:07:00Z
Microsoft Knowledge Base Article - 293797

SYMPTOMS
You use the Outlook object model to loop through items in a folder, but run into memory limitations, or the amount of time that it takes to process an item increases as the collection of items is processed.

CAUSE
The items are based on a custom form that uses Microsoft Visual Basic Scripting Edition (VBScript), and Outlook does not release memory related to VBScript until the entire collection of items is processed.

RESOLUTION
You can add a registry key to limit the number of times that Outlook loads the VBScript code.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


Create the following DWORD registry key and set its value to a number greater than 0:

HKEY_LOCAL_MACHINE\Software\Microsoft\Office\< outlook version >\Outlook\Scripting\Threshold



Outlook limits the number of simultaneous script objects to that number. You can set it to any small number, which allows most looping scenarios to run. However, Microsoft recommends you set it to a value in the range of 10 to 20 because after you implement this registry key, custom forms that are opened through the Outlook user interface are also affected. For example, if you set the value to 2, and then open three custom forms with VBScript in them, the VBScript code will not run in the third item you open.


See: Microsoft Knowledge Base Article - 293797
Sponsor
GeniusConnect documentation search (User Manual Downloads...)
Administrator
  •  Admin
  • Advanced Member Topic Starter
2004-08-24T13:32:00Z
Microsoft Knowledge Base Article - 827310

Outlook 2003 stops responding after a long period of use

View products that this article applies to.
SYMPTOMS
When you have the Outlook 2003 program window open for a long time, Microsoft Outlook may stop responding. Also, if you view the Processes tab in the Windows Task Manager dialog box while Outlook 2003 is running, you may see that Outlook is using an unexpectedly large amount of memory.

MORE INFORMATION
While Outlook 2003 is running, it periodically pages memory in and out of the process address space. When the memory that is free is large, Outlook 2003 is permitted to have more pages in memory. This increases the memory that is being used by Outlook 2003. If another application requires memory, Outlook will release memory. When you minimize the Outlook 2003 program window, the pages are switched so that the pages that are not required for user interaction are switched out of memory. When you maximize the Outlook 2003 program window again, the pages that are used for user interaction are switched in to memory, and the memory usage begins to increase again. This could happen when working with a large .pst or .ost file as well as other actions within Outlook.

The information in this article applies to:
Microsoft Office Outlook 2003

Microsoft Knowledge Base Article - 827310



Administrator
  •  Admin
  • Advanced Member Topic Starter
2005-08-16T10:39:00Z
If you have Outlook 2002 and memory, custom-forms problems, please install SP3.
See microsoft.com for more about SP3:
http://office.microsoft....date/CD010225741033.aspx 
Administrator
  •  Admin
  • Advanced Member Topic Starter
2006-05-16T10:40:00Z
Administrator
  •  Admin
  • Advanced Member Topic Starter
2006-05-16T15:36:00Z
If you are using Outlook 2003 and have memory, custom-form related problems, please install:
Outlook 2003 SP2
http://office.microsoft....fficeupdate/default.aspx 

Outlook 2003 post-Service Pack 2 hotfix package
http://support.microsoft.com/?id=898457 
Administrator
  •  Admin
  • Advanced Member Topic Starter
2006-06-01T17:52:00Z
I have I few questions about the performance. We have about 8000 contacts in our public folder. Yesterday I did an export with genius connect. I did it with my laptop (Pentium 1,73 GHz, 1024 MB DDR2 RAM).
It took about 3 hours to export the Contacts! My processor was nearly most of the time at 100 % and my RAM got up to 1,8 GB.


Solution:


I did the following for Outlook 2003 with MS Exchange

Create the following DWORD registry key and set its value to a number greater than 0:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Outlook\Scripting\Threshold

At first I created the key "Scripting" (right mouse button - new key -> after that a new subfolder was created) and then created the DWORD Entry "Threshold". At first I tested this setting with a decimal DWORD value of 2. After that my scripts won't work when I open more then 1 scripted Contact. After that I changed the settings to 20 (recommended by MS is 10 - 20), and the scripting in more than 2 forms worked again!

I also just added my Outlook Add In again, and Genius seems still to be working correct. My memory isn't swapping any more.
Similar Topics