Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Consider the following scenario:

  • You install Microsoft Commerce Server 2007 or Microsoft Commerce Server 2009 on a computer.

  • You create a Commerce Server site that calls the CreateFromCache method of the DiscountItemCollection class to display the discount information of a discount cache.

    Note For more information about how to display discounts for specific products, visit the following MSDN website:

    How to display discounts for specific products

  • The discount cache frequently refreshes.

    Note The frequency of the refresh operations depends on one or more of the following factors:

    • How frequently business users use Marketing Manager business user applications to refresh the site cache.

    • How frequently the SiteCacheRefresh.axd handler is called to refresh all the marketing caches or the discount cache.

    • The refreshInterval setting for the discount cache in the caches element of the Web.config file.

In this scenario, the memory usage for the W3wp.exe worker process of Internet Information Services (IIS) increases. When the memory usage increases to a high value, you have to manually recycle the IIS application pool that the Commerce Server site runs.

Note The rate that the memory increases depends on the frequency of the discount cache refreshes.

Cause

This issue occurs because the DiscountItemCollection component uses time stamps in the cache to determine when the component has to rebuild the list of discounts. 

When the cache is frequently refreshed, the list of discounts is created multiple times. Therefore, the memory usage increases.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Microsoft Commerce Server 2007 Service Pack 2 (SP2) or Microsoft Commerce Server 2009 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart Internet Information Services (IIS) and the Commerce Server Catalog Import Host COM+ application after you apply this hotfix.

To restart IIS, type the following command at a command prompt, and then press ENTER:

IISRESET /RESTART
Note This command stops and then restarts all IIS services that are running on a computer.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Commerce Server 2007 Service Pack 2 (SP2)

File name

File version

File size

Date

Time

Platform

Microsoft.commerceserver.runtime.dll

6.0.4109.64

845,696

25-May-2011

11:28

x86

Commerce Server 2009 RTM for SharePoint 2007

File name

File version

File size

Date

Time

Platform

Cs2009hotfixhelper.exe

6.0.4171.49

12,136

26-May-2011

10:21

x86

Microsoft.catalogserver.dll

6.0.4171.49

763,760

26-May-2011

10:21

x86

Microsoft.commerceserver.runtime.dll

6.0.4171.49

849,792

26-May-2011

10:21

x86

Microsoft.commerceserver.catalog.dll

6.0.4171.49

960,384

26-May-2011

10:05

x86

Commerce Server 2009 Template Pack for Microsoft SharePoint 2010

File name

File version

File size

Date

Time

Platform

Cspatchhelper.exe

6.0.4171.515

16,224

26-May-2011

10:52

x86

Microsoft.catalogserver.dll

6.0.4171.515

763,760

26-May-2011

10:52

x86

Microsoft.commerceserver.runtime.dll

6.0.4171.515

849,792

26-May-2011

10:52

x86

Microsoft.commerceserver.catalog.dll

6.0.4171.515

960,384

26-May-2011

10:39

x86


More Information

A discount cache might be frequently refreshed in the following situations:

  • Random cache refreshes
    The following operations refresh the cache:

    • Manually refresh cache by using Commerce Server administration tools.

    • Incoming messages use line-of-business Commerce Server adapters that automatically start the cache refresh operation.


  • Periodic cache refreshes that are automatic
    The following operations automatically and periodically refresh the cache:

    • Configure the RefreshInterval settings in a standard Commerce Server installation.

      Note You can configure the RefreshInterval setting in the caches element of the Web.config file. For more information about the caches element, visits the following MSDN website:

      General information about the caches element

    • Use time interval configurations to trigger the Line-Of-Business Commerce Server adapters.


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about caching in Commerce Server, visit the following MSDN website:

General information about caching in Commerce ServerFor more information about the CreateFromCache method, visit the following MSDN website:

General information about the CreateFromCache method

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×