Out of memory error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Reddirt
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sun Oct 26, 2008 7:05 pm

Out of memory error

Post by Reddirt » Mon Nov 10, 2008 9:06 am

I'm getting the following error from a web hosting site. Can anyone tell me how to fix?
Server Error in '/ABLE' Application.
--------------------------------------------------------------------------------

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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
NVelocity.Runtime.Parser.VelocityCharStream..ctor(TextReader dstream, Int32 startline, Int32 startcolumn, Int32 buffersize) +81
NVelocity.Runtime.Parser.Parser..ctor(IRuntimeServices rs) +137
NVelocity.Runtime.RuntimeInstance.initializeParserPool() +113
NVelocity.Runtime.RuntimeInstance.Init() +73
NVelocity.App.VelocityEngine.Init() +12
CommerceBuilder.Messaging.NVelocityEngine..ctor() +18
CommerceBuilder.Web.UI.WebControls.WebParts.ScriptletPart.CreateChildControls() +2493
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Out of memory error

Post by sohaib » Mon Nov 10, 2008 9:10 am

What page are you getting this error at?
Has the page been customized?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Out of memory error

Post by mazhar » Mon Nov 10, 2008 9:16 am

Are you in shared hosting? Have you any customization?

Reddirt
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sun Oct 26, 2008 7:05 pm

Re: Out of memory error

Post by Reddirt » Mon Nov 10, 2008 9:18 am

Yes, I'ts at a shared hosting site.

I have a few customizations. Nothing major.

It doesn't happen every time I access the site.

Plus - it takes about 20 seconds to load the first page. After that it's fairly responsive.

Is it a problem with my hosting company - or Able Commerce?

Thanks,
Reddirt

Reddirt
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sun Oct 26, 2008 7:05 pm

Re: Out of memory error

Post by Reddirt » Mon Nov 10, 2008 9:25 am

It's a new site. I'm using a 30 day trial. My customer is planning to purchase this week.
So, we haven't gone live. Here's the URL
http://us538403.bizhostnet.com/ABLE/Default.aspx

And it's the first time I've used BizHostNet.com

In the past 10 minutes it hasn't happend again. Could it have been a temporary problem at the hosting company?

Thanks,
Reddirt

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Out of memory error

Post by sohaib » Mon Nov 10, 2008 9:42 am

If you have a lot (many many thousands) of products or categories then it may be that your hosting provider is not allocating enough memory to your application or database. If that is not the case then then most probably the customization you have done has some serious memory leaks in it.
In the past 10 minutes it hasn't happend again. Could it have been a temporary problem at the hosting company?
Yes It could be that your hosting provider is overloaded with too many active test accounts on the same server.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Out of memory error

Post by sohaib » Mon Nov 10, 2008 10:09 am

Is it a problem with my hosting company - or Able Commerce?
It is most likely to be a problem with your hosting company or your customization.
Do NOT post your question in BOTH the forums and our CRM case system
Unfortunately these instructions on the forums front page have not been taken care of.

Post Reply