+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / System.OutOfMemoryException

System.OutOfMemoryException

5 posts, 0 answered
  1. Giorgos
    Giorgos avatar
    42 posts
    Registered:
    14 Nov 2009
    12 Feb 2010
    Link to this post
    Hello,

    I do not what is going on and if my problem has to be with the cms. My web site on server is very unstable.
    For example my web site worked perfect yesterday and now throws an exception System.OutOfMemoryException.
    I did not make any changes from yesterday until now. What is going on?
    Please help.

    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.]
       System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
       System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
       System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
       System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65
       System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +342
       System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +128
       System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +56
       System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +146
       System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1219
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +97
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295
       System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231
    
    [HttpException (0x80004005): Exception of type 'System.OutOfMemoryException' was thrown.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8894031
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333
    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    12 Feb 2010
    Link to this post
    Hi Giorgos,

    The error occurs when the application attempts to use a portion of the server's memory  and is unable to do so.You can use TaskManager to see what processes are utilizing resources. Check whether you have some custom code that causes memory leaks. Also make sure that you have enough memory for your application pool.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Giorgos
    Giorgos avatar
    42 posts
    Registered:
    14 Nov 2009
    12 Feb 2010
    Link to this post
    I do not use any custom code, only your controls and only generic_content control.
    You tell me that if  it is a memory problem i have to contact with my host. Right?
    Also i downloaded my web site files through ftp to my pc and works perfect locally.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    12 Feb 2010
    Link to this post
    Hi Giorgos,

    Most probably you exceed the available memory for your account. You should better contact your host and ask them for a proper solution - upgrading your account or adding additional memory.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. jagadish kumar
    jagadish kumar avatar
    23 posts
    Registered:
    17 Mar 2010
    07 Jul 2010
    Link to this post
    Hi Admin,

    How to avoid this error because i got the same error... so how can i add an additional memory or otherwise what i have to do................... and also i got one more error while in the opening this site in sitefinity........ i have attached this post... so please help me soon........

    Please tell me soon... it's very urgent

    I hope you sir

    Thanks
    Jagadish
Register for webinar
5 posts, 0 answered