HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/TDijk1/erp-apps.eu/wwwroot/MemoryTest.aspx.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MemoryTest : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        litAlocatedMemory.Text = GC.GetTotalMemory(false).ToString();
        litPeakMemory.Text = Process.GetCurrentProcess().PeakWorkingSet64.ToString();
        litPhysicalMemory.Text = Process.GetCurrentProcess().WorkingSet64.ToString();
        litVirtualMemory.Text = Process.GetCurrentProcess().VirtualMemorySize64.ToString();
    }
}