Memory Management in the .NET Framework and Mono: A Comparative Study of Two CLI-Based Virtual Execution Systems
This paper presents a historical experimental comparison of memory management in two implementations of the Common Language Infrastructure (CLI): Microsoft .NET Framework 2.0 and Mono 1.2.2.1. The study examines the performance characteristics of two different garbage collection approaches: generational garbage collection in the .NET Framework and conservative mark-and-sweep garbage collection in Mono. Using 17 benchmark configurations designed to exercise different memory allocation patterns and object lifetimes, the research investigates execution time, CPU utilisation, memory consumption and page faults. The experiments were conducted on Windows XP using Windows Performance Monitor and benchmark instrumentation. The results illustrate how garbage collection strategies interact with workload characteristics and other runtime components, influencing overall application performance. The findings also highlight the limitations of attributing performance differences exclusively to garbage collection algorithms. The experiments were originally conducted during the .NET Framework 2.0 and Mono 1.2.2.1 era. This manuscript has been revised and prepared for archival publication in 2026. Its findings should be interpreted in their historical context rather than as a performance comparison of contemporary .NET and Mono implementations. This work is made available to preserve and disseminate historical research into managed runtime systems, automatic memory management and virtual execution environments.
Authors
- Rafael Ordóñez
Institutions
- Universitat Politècnica de Catalunya (ES)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-13
- DOI
- https://doi.org/10.5281/zenodo.24200454
- Primary Topic
- Logic, programming, and type systems
- Type
- preprint