HomeHome Product Discus... Product Discus...SmithCartSmithCartUPS - Calculate Shipping Rates - 4.24 - Memory LeakUPS - Calculate Shipping Rates - 4.24 - Memory Leak
Previous
 
Next
New Post
3/21/2011 8:53 AM
 

I mentioned in a prior thread that when I click on calculate shipping rates with any UPS Method that the Application Pools will consume all available memory.  This happens instantly when I hit the calcualte button on the shipping page. This is happening in the new version 4.24

The only thing that I can repeat over and over again

I have selected both UPS and USPS Shipping Options in settings.  However, only USPS or UPS appears.  Both Shipping Options should be available for the customer to select unless I'm misundertanding the Shipping Setup.  When clicking on calculate rates using USPS everything works correctly.

My settings are attached:  Capture.jpb

Is version 4.24 using the UPS WebServices and if it does do you have any recommended troubleshooting steps.  Could a firewall cause problems?

 Shipping From Zip: 53546

DotNetNuke: 5.6.1

SmithCart: 4.24 same problem in 4.22

 
 Login to download attachment
New Post
3/21/2011 12:51 PM
 
How are you setting both UPS and USPS in settings? Isn't it a radio button, that only allows you to select one at a time?
 
New Post
3/21/2011 12:54 PM
 

I am experiencing this exact same problem.  When clicking the "calculate shipping" button I get an error screen. 

Error:

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.


DNN 4.6.1

SmithCart 4.24

 
New Post
3/21/2011 1:27 PM
 

I'm experiencing the same error.

DNN 5.6.0

Smith Cart 4.24

SQL Standard 2005

 
New Post
3/21/2011 3:07 PM
 

We will try to replicate this issue and are downloading the Red Gate memory leak detection tool to help determine if there is a memory leak in the call to the UPS service

Thanks,

Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/22/2011 12:17 AM
 
I'm trying to replicate this error but I'm unable to do so, no matter what combination of settings I choose, are yo using SSL?

Thanks,
Christian
 
New Post
3/22/2011 7:25 AM
 

We are not using SSL.  I'm sure I could try and find this but could I have the URL's for the UPS WebService to ensure that our Firewall is not somehow blocking the requests.  I don't think it is but we can check.  It would sure be nice if this could get fixed soon.

Shipping Setup

   

* Store Postal Code:     Postal Code Required

   

(Please select a shipping method)

 

Shipping Calculator (UPS, USPS, FedEx, Canada Post)

Zone Shipping By Quantity

Zone Shipping By Weight

Custom Ship Methods with Fixed Amounts

Custom Ship Methods By Order Amount

Custom Ship Methods By Quantity

Custom Ship Methods By Weight

Custom Ship Methods By Zip Code

Shipping By Order Amount

Product Level Shipping Costs

Free Shipping

Shipping Method Required

   

Carrier:  

   

Shipping Methods:

UPS Ground

UPS 2nd Day Air

UPS 2nd Day Air A.M.

UPS 3 Day Select

UPS Next Day Air

UPS Next Day Air Saver

UPS Next Day Air Early A.M.

UPS Worldwide Express

UPS Worldwide Express Plus

UPS Worldwide Expedited

UPS Worldwide Saver

 

 

Address Type:

Auto

Residentual

Commercial

   

Max Package Weight (lbs.)

   Enter a number

   

Enable Drop Ship Rule:  

Combine Ship Methods:  

  

 

 

 
New Post
3/22/2011 2:02 PM
 

Requested Information:
• Dot net framework version:  4.0 Integrated

• Windows version: Windows 2008 64 BIT

• IIS version: 7.0
• Hosting - Shared or dedicated (if dedicated virtual or not).  ESX 4- Dedicated Virtual.  Separate App Pool and Site Configured.
• Amount of available memory on your server: 4GB
• Other modules installed: Morpheus Skin Lab but I have been able to reproduce same problem when it is not installed.
• Is your dnn portal an upgrade or a new install:  It is a new Install of 5.6.1.  Also there is only one site setup.
• Any scheduled programs running (dnn or otherwise):  Search Engine every 15 minutes
• Windows event viewer messages: Attaching

 

 

 
 Login to download attachment
New Post
3/23/2011 12:48 PM
 

We werent able to replicate the memory leak in our environment but completed a code review on the ups api functions and made a few addtional changes that could help and also added some additional error handling logic.  I will post the hotfix to the cart downloads page today.  Thanks for reporting the iissue and providing all the info.

 

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/24/2011 6:41 AM
 

Looking forward to trying the hotfix. I checked the download section and do not see a post for the hotfix yet.

 
New Post
3/24/2011 11:47 AM
 
A hotfix for this was just posted to the cart downloads page.

-Scott

Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/24/2011 2:38 PM
 

I tried the new Hot Fix for 4.24 and it did not fix the issue.  I tried hunting this also by using Ants Profiler for our site but came up with nothing but the APP Pool continue to climb until there was no more RAM left.. Calculate Rates would cause the application to increase drastically.

What ended up fixing the issue for us was to put a value in the Max Package Weight (lbs.).   As soon as I put in a value the issue went away.

 

I also made sure to deselect the USPS Shipping options as well.     I'm not sure if some calculation was looking for this not to be null or not be 0.  Maybe some of the calcs behind the scenes rely on this parameter.

 
New Post
3/25/2011 8:21 AM
 

We did not use the hotfix but applied the Max Weight and that fixed our issue as well.

 
New Post
3/29/2011 9:01 AM
 

Scott, can you please post the instructions on how to apply the Hotfix

Thanks

 
New Post
3/30/2011 10:28 PM
 
To deploy, download the hotfix and extract the zip file and then copy the dll to your \bin folder on your web server.

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartUPS - Calculate Shipping Rates - 4.24 - Memory LeakUPS - Calculate Shipping Rates - 4.24 - Memory Leak