Maude 0.3.0-pre1

This is a prerelease version of Maude.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Maude --version 0.3.0-pre1
                    
NuGet\Install-Package Maude -Version 0.3.0-pre1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Maude" Version="0.3.0-pre1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Maude" Version="0.3.0-pre1" />
                    
Directory.Packages.props
<PackageReference Include="Maude" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Maude --version 0.3.0-pre1
                    
#r "nuget: Maude, 0.3.0-pre1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Maude@0.3.0-pre1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Maude&version=0.3.0-pre1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Maude&version=0.3.0-pre1&prerelease
                    
Install as a Cake Tool

In-app observability for .NET MAUI.

Maude is a plugin for .NET MAUI to monitor app memory at runtime and view it via live-rendered chart.

<img src="https://github.com/matthewrdev/maude/blob/main/img/demo-animation.gif" alt="Shake gesture demo" style="max-height:200px; width:auto;"> <img src="https://github.com/matthewrdev/maude/blob/main/img/demo-overlay.PNG" alt="Overlay demo" style="max-height:200px; width:auto;"> <img src="https://github.com/matthewrdev/maude/blob/main/img/demo-slidesheet.jpeg" alt="Slide-sheet demo" style="max-height:200px; width:auto;">
Shake to open Maude Memory chart overlay Slide-in events sheet

Disclaimer ⚠️

Best effort has been made for performance and correctness, but Maude continuously snapshots memory and stores recent samples in-memory; expect a small observer effect.

Please treat Maude’s numbers as a guidance, a heuristic.

Always use the native tools and platform specific profilers (Xcode Instruments, Android Studio profiler) or dotnet trace for authoritative measurements.

Quickstart

Add Maude to your MAUI app with minimal code.

  1. Configure the app builder:
// MauiProgram.cs
using Maude;

var builder = MauiApp.CreateBuilder()
  .UseMauiApp<App>()
  .UseMaude();
  1. Start tracking memory usage:
MaudeRuntime.Activate();
  1. Show Maude:
// Show Maude as a slide in sheet.
MaudeRuntime.PresentSheet();
MaudeRuntime.DismissSheet();

// Show Maude as a window overlay.
MaudeRuntime.PresentOverlay();
MaudeRuntime.DismissOverlay();

Prefer a one-liner? Call .UseMaudeAndActivate() to register Maude and immediately start sampling.

Documentation

Looking for builder options, event recording, FPS sampling, or platform-specific tips? Read the full guide at https://github.com/matthewrdev/maude/blob/main/docs.md.

What does Maude capture?

Android

Metric Description + Documentation
Resident Set Size (RSS) Physical RAM currently mapped into the process (Java + native + runtime), excluding swapped pages. Android Memory Overview • /proc reference
Native Heap Memory allocated through native allocators (malloc, new) used by the ART runtime and native libraries. Debug.getNativeHeapAllocatedSize
CLR (Managed Heap) Managed heap consumed by the .NET/Mono runtime (GC generations, LOH, objects, metadata). .NET GC Fundamentals

iOS

Metric Description + Documentation
Physical Footprint (Jetsam Footprint) Total physical RAM attributed to the process by the kernel — the metric Jetsam uses to terminate apps. task_vm_info_data_t • WWDC Memory Deep Dive
CLR (Managed Heap) Managed memory used by the .NET/Mono runtime on iOS (AOT GC heap + metadata). .NET GC Fundamentals

Limitations and Known Issues

MAUI’s WindowOverlay attaches to the root window, so modal pages can obscure the overlay. Use the slide-in sheet (PresentSheet) for modal-heavy flows.

Only Supported on .NET 9 and higher

Maude is explicitly built for .NET 9+ to leverage Span<T> optimisations and MAUI native embedding; earlier target frameworks are unsupported.

More

Source, issues, and release notes live at https://github.com/matthewrdev/maude.

Product Compatible and additional computed target framework versions.
.NET net9.0-android35.0 is compatible.  net9.0-ios18.0 is compatible.  net10.0-android was computed.  net10.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 9,069 2/9/2026
0.3.0-pre1 553 12/8/2025
0.2.0 10,422 11/23/2025
0.2.0-pre3 451 11/20/2025
0.2.0-pre2 449 11/19/2025
0.2.0-pre 450 11/19/2025
0.1.0 1,408 11/17/2025
0.1.0-pre2 357 11/17/2025
0.1.0-pre 350 11/17/2025