More in this section

Forums / Bugs & Issues / System.OutOfMemoryException error after add a secondary language!

System.OutOfMemoryException error after add a secondary language!

5 posts, 0 answered
  1. Carlos Redondo
    Carlos Redondo avatar
    21 posts
    Registered:
    09 Jan 2009
    13 Jan 2012
    Link to this post

    Hi guys,
    We were working really happy on Sitefinity since last month without major issues, and this week we decided to setup a secondary language for multilanguage support and all of a sudden, page is freeze and we are getting OutOfMemoryExceptions... We removed the additional language just trying to return back to normal state, but nothing works, server was restarted, additional services were stopped to release more memory on server, but Sitefinity server consume each free bit available on RAM, 4GB RAM was the last hit of Sitefinity service.  I need some help to try to recover all our job!.. 
    Version 4.4.2117.0


    Server Error in '/SmarterCommerce' 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.
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    17 Jan 2012
    Link to this post
    Hello Carlos,

    The issue may be coming from a number of different sources therefore I will need some more information in order to narrow down the causes:

    - do you have custom navigation used in your project or you are using the default control? Generally we have observed similar behavior in one particular case, when the client had used a template that got a mixed reference and was referencing itself - this has caused the same OutOfMemory exception on the frontend and unresponsive backend when editing the page based on this template.

    - can you provide us with the full stack trace of the error.

    Also the following thread might help you:

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/outofmemoryexception.aspx


    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Carlos Redondo
    Carlos Redondo avatar
    21 posts
    Registered:
    09 Jan 2009
    17 Jan 2012
    Link to this post
    Hi Victor,
    Thanks for your reply.  I'm glad to say that OutOfMemoryException was caused due an invalid template settings more than a Sitefinity issue... 

    Thanks again!
    Carlos.
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    18 Jan 2012
    Link to this post
    Hello Carlos,

    Glad to hear that the issue was resolved! If you want you can share your experience on how you resolved the issue, with the community so it can be of help to someone else.

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Carlos Redondo
    Carlos Redondo avatar
    21 posts
    Registered:
    09 Jan 2009
    24 Jan 2012
    Link to this post
    Sure, somehow a custom template was based on a child template of it self, like a circular relationship.  So that circular reference was causing a (understandable) endless loading template process.  Unfortunately I didn't find a way to review template history (Revision history) to understand how that could happened.
    Carlos.

5 posts, 0 answered