My web application is blank page, when memory is full on server

Robson Lima Laurindo 0 Reputation points
2023-12-11T16:41:59.3033333+00:00

Hi everyone,

A couple of days, I've tried to understand because my application is blank page when reaching out ~98-100% of memory on server. I would like if anyone knows why this happens and how long a page come back to the normal? Or If can I fix it?

The high memory is due to load test on system to identify some bottleneck on my app.

In the server logs, it showed the following message, when we tried to access the page again.

«Exception of type 'System.Web.HttpUnhandledException' was thrown.»
«The resource class for this page was not found.  Please check if the resource file exists and try again.»

The folders app_global_resources and app_local_resources are available on the server.

Stack:

The resource class for this page was not found.  Please check if the resource file exists and try again. 

Type       : InvalidOperationException 

Stack:
   at System.Web.Compilation.LocalResXResourceProvider.CreateResourceManager()
   at System.Web.Compilation.BaseResXResourceProvider.GetObject(String resourceKey, CultureInfo culture)
   at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
   at System.Web.UI.TemplateControl.GetLocalResourceObject(String resourceKey)
   at ASP.usercontrols_home_dashboardnewsgrid_ascx.__BuildControl__control3() in e:\SATS\VWCZ_Windows\UserControls\Home\DashboardNewsGrid.ascx:line 19
   at ASP.usercontrols_home_dashboardnewsgrid_ascx.__BuildControl__control2(DataControlFieldCollection __ctrl) in e:\SATS\VWCZ_Windows\UserControls\Home\DashboardNewsGrid.ascx:line 3
   at ASP.usercontrols_home_dashboardnewsgrid_ascx.__BuildControlGVNews() in e:\SATS\VWCZ_Windows\UserControls\Home\DashboardNewsGrid.ascx:line 3
   at ASP.usercontrols_home_dashboardnewsgrid_ascx.__BuildControlTree(usercontrols_home_dashboardnewsgrid_ascx __ctrl) in e:\SATS\VWCZ_Windows\UserControls\Home\DashboardNewsGrid.ascx:line 1
   at ASP.usercontrols_home_dashboardnewsgrid_ascx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\vwcz_windows\b2e91582\f716d91b\App_Web_dashboardnewsgrid.ascx.7d79f1e8.dyryctg_.0.cs:line 0
   at ASP.home_aspx.__BuildControlUCDashboardNewsGrid() in e:\SATS\VWCZ_Windows\Home.aspx:line 24
   at ASP.home_aspx.__BuildControlCViewFormDetail(Control __ctrl) in e:\SATS\VWCZ_Windows\Home.aspx:line 13
   at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template)
   at ASP.navigationbase_master.__BuildControlCPHMainContent() in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 89
   at ASP.navigationbase_master.__BuildControl__control19(Control __ctrl) in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 87
   at System.Web.UI.UpdatePanel.CreateContents()
   at System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value)
   at ASP.navigationbase_master.__BuildControlUPContentData() in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 87
   at ASP.navigationbase_master.__BuildControlPContent() in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 86
   at ASP.navigationbase_master.__BuildControlPStage() in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 20
   at ASP.navigationbase_master.__BuildControlPPageBody() in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 19
   at ASP.navigationbase_master.__BuildControlCPageBaseContent(Control __ctrl) in e:\SATS\VWCZ_Windows\NavigationBase.Master:line 15
   at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template)
   at ASP.__base_master.__BuildControlCPHPageBaseContent() in e:\SATS\VWCZ_Windows\__Base.Master:line 286
   at ASP.__base_master.__BuildControlform1() in e:\SATS\VWCZ_Windows\__Base.Master:line 45
   at ASP.__base_master.__BuildControlTagBODY() in e:\SATS\VWCZ_Windows\__Base.Master:line 32
   at ASP.__base_master.__BuildControlTagHTML() in e:\SATS\VWCZ_Windows\__Base.Master:line 12
   at ASP.__base_master.__BuildControlTree(__base_master __ctrl) in e:\SATS\VWCZ_Windows\__Base.Master:line 1
   at ASP.__base_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\vwcz_windows\b2e91582\f716d91b\App_Web___base.master.cdcab7d2.3ugdcylh.0.cs:line 0
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.MasterPage.get_Master()
   at System.Web.UI.MasterPage.ApplyMasterRecursive(MasterPage master, IList appliedMasterFilePaths)
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Thanks in advance.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 1,120 Reputation points Microsoft External Staff
    2023-12-12T14:46:29.29+00:00

    Hi @Robson Lima Laurindo,

    Thank you for asking this question on the Microsoft Q&A Platform.

    You may want to investigate this how-to guide shows you how to deploy your app to Azure App Service from a Git repository on your local computer.

    To add to this there are a number of reasons you may want to investigate an FTP Deployment issue including the following:-

    1. A Deployment versus runtime application issues
    2. Unable to establish an FTP Connection.
    3. How can I connect to FTP in Azure App Service via passive mode

    Also refer to below links might be helpful:

    https://learn.microsoft.com/en-us/azure/app-service/deploy-local-git#what-happens-to-my-app-during-deployment

    Best regards,

    0 comments No comments

  2. MotoX80 36,291 Reputation points
    2023-12-12T16:18:25.45+00:00

    Well if your server is out of memory, then it really should not be a surprise that IIS has problems rendering your page.

    Start by asking IIS to gracefully recycle the wp's. (Launch powershell with run as admin.

    (Get-IISAppPool).recycle()
    

    If that doesn't work, kill the worker processes

    Get-Process -Name w3wp | Stop-Process -Force
    

    And if you still have issues, recycle all of IIS.

    iisreset.exe 
    
    0 comments No comments

  3. Robson Lima Laurindo 0 Reputation points
    2023-12-12T16:26:31.9266667+00:00

    Hi,

    In my logs is not displayed out of memory, when my application reach out > 98% memory. I have done this process to recycle and kill the process, but I would like to understand, because the page gets blank, what happens exactly? While process is existing in IIS, the page keeps blank.

    I researched for many tutorials on the internet, but I could not get it.


  4. Anonymous
    2023-12-13T03:02:37.23+00:00

    Hello Robson Lima Laurindo

    Running out of memory on a server can cause applications to stop working and show a blank page. Here are steps to troubleshoot this issue:

    1.Free Up Memory: If the server is indeed out of memory, you’ll need to free up some space. You could do this by stopping unnecessary processes, deleting unneeded files, or increasing the server’s memory if possible.

    2.Optimize your Application: If your web application is consuming too much memory, consider optimizing it. This could involve reducing the size of your data, optimizing your code, or implementing caching.

    3.Memory Leak: Investigate if there’s a memory leak in your application. A memory leak occurs when a program uses memory but doesn’t give it back to the operating system when done. Over time, this can consume all of a system’s memory.

    At last, for Windows servers, you can use Task Manager or Performance Monitor monitor your server’s memory usage. But if we want to log analysis deeply, I suggest that we'd better ask for Microsoft telephone support.

    Best Regards,

    Hania Lian

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.