Memory leak when using "Spend on Items for Free Items" discount and setting redemption limit per order to unlimited


We are noticing high memory usage when using this discount. This happens when we are calling IPromotionEngine.Evaluate for those entries targetted by the discount.

Everything works normal if we set at least 1 per order redemption limit and it usually takes 1-3 seconds. If we set it to unlimited, it takes 20-30 minutes and our machines are almost unusable. Looking at the memory profiler, it does signify a memory leak.

We have only tested this for "Spend on Items for Free Items" discount but we reckon anything relating to "Free Items" is affected.

Has anyone else experienced this?

May 29, 2019 8:25

You are very welcome to contact our developer support service and send a memory dump. We're happy to look into this

May 29, 2019 9:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.