Resources  
  • On-Heap vs Off-Heap Memory Management in DatabricksJun 12, 2025. Memory management is a critical part of big data processing, and Databricks provides mechanisms to optimize how applications utilize system memory. Understanding the distinction between on-heap and off-heap memory management can impact the performance and reliability of your Spark applications running on Databricks.
  • How Efficiently Does a Deep Learning Model Utilize Its MemoryMay 20, 2025. Discover how efficiently deep learning models utilize memory during training and inference. Explore key factors like batch size, model architecture, and GPU usage.
  • Creating a "Pooled" Dependency Injection Lifetime in C# 13May 19, 2025. Discover how Ziggy Rafiq demonstrates how to set up a custom "pooled" dependency injection lifetime in C# 13 using ObjectPool<t> with best practices, DI registration, and high-performance service examples.</t>
  • Understanding Garbage Collection and Cyclic References in C#May 20, 2025. This article explores .NET memory management, focusing on how the garbage collector handles cyclic references, and how weak references and the `IDisposable` pattern help prevent memory leaks in C# applications.
  • AlbertMemo – A Cognitive Memory Engine System for AlbertAGPTMay 16, 2025. AlbertMemo is a Cognitive Memory Engine System for AlbertAGPT, designed to enhance contextual understanding and long-term memory.
  • Understanding LRU Cache in PythonMay 05, 2025. LRU Cache (Least Recently Used) is a data structure that maintains a limited set of items, automatically removing the least recently accessed ones. It's implemented in Python using a doubly linked list to optimize cache operations.
  • Memory Management in .NETMar 31, 2025. Memory management in .NET is handled by the Garbage Collector (GC), which automatically allocates and frees memory to optimize performance.
  • Pooling with ObjectPool<T> in .NETMar 31, 2025. This article explores the benefits of object pooling, how to implement ObjectPool&lt;T&gt; from System.Buffers, and real-world use cases to reduce memory allocations and enhance application efficiency.
  • Understanding Span<T> & Memory<T> for Low-Level Memory EfficiencyMar 28, 2025. Span&lt;T&gt; and Memory&lt;T&gt; in C# provide efficient ways to handle memory without allocations, improving performance in .NET applications. Span&lt;T&gt; is stack-allocated for fast access, while Memory&lt;T&gt; supports heap-based scenarios.
  • Efficient Memory Access with CollectionsMarshal.AsSpan: in C# .NET Mar 28, 2025. Learn how to optimize memory access in C# .NET using CollectionsMarshal.AsSpan for high-performance scenarios. This API provides direct access to collection memory, reducing allocations and improving efficiency.
  • Boost SQL Server Performance with Memory-Optimized TablesFeb 25, 2025. Memory-optimized table variables in SQL Server provide a powerful way to enhance query performance by leveraging In-Memory OLTP. Unlike traditional table variables, they reduce disk I/O and improve execution speed.
  • Understanding Garbage CollectionJan 31, 2025. Garbage Collection in C# automatically manages memory by clearing expired objects. It uses generations (Gen 0, 1, 2) for optimization. Dispose and Finalize handle resource cleanup, preventing memory leaks and enhancing performance.
  • Summary of Working with Arrays in C# from Basics to AdvancedJan 22, 2025. Arrays in C# are collections of homogeneous elements stored in contiguous memory. They have a fixed size, start from index 0, and allow easy access, modification, and iteration. C# supports multidimensional, jagged arrays, and LINQ operations.
  • Memory Leakage and Solutions in ReactDec 23, 2024. Memory leakage in React can lead to performance issues and application crashes. This article explores common causes of memory leaks, such as improper use of state, unmounted components, and event listeners.
  • C# Foundation - Implicitly Typed VariablesNov 28, 2024. Implicitly typed variables in C#, declared using the var keyword, let the compiler infer the data type from the initialization expression. This improves code readability and reduces verbosity, especially with complex types.
  • Dependency Properties in WPF: Benefits, Usage, and Examples in C#Oct 21, 2024. A Dependency Property in WPF is a specialized property supported by the WPF property system. It enables data binding, styling, animation, and value inheritance. This system improves memory efficiency and provides automatic change notifications, making it essential for dynamic, data-driven applications.
  • Understanding the Working of Garbage Collector in .NET 9Sep 30, 2024. The .NET 9 Garbage Collector enhances memory management through dynamic tuning, improved generation collections, and a refined compaction algorithm, ensuring efficient, automated memory handling while optimizing application performance.
  • The implementation of Double Linked List with C ProgrammingSep 26, 2024. A doubly linked list is a dynamic data structure in C that allows bidirectional traversal of elements using pointers. This implementation covers node creation, insertion, deletion, and traversal operations.
  • In-Memory Databases- Unit Testing With C#, EFCore and XUnitSep 18, 2024. Learn to unit test EF Core repositories using an in-memory database with C# and xUnit. This approach simulates database operations without overhead, ensuring fast and isolated tests. Set up involves installing necessary NuGet packages, configuring DbContext, writing tests, and initializing test data.
  • Power Query: Best Practices for Memory ConsumptionSep 02, 2024. To optimize memory usage in Power Query, filter data early, minimize query steps, and utilize query folding to reduce data processed. Disable background data loading, optimize data types, use dataflows for repetitive tasks, split large files, and consider upgrading to a 64-bit version for better performance.
  • The Best Way to Work with Excel in .NET: MiniExcelAug 16, 2024. MiniExcel is a lightweight, high-performance .NET library for handling Excel files. Simplifies tasks like reading and writing data with minimal dependencies and fast processing. Ideal for reporting, data export/import, and automation, MiniExcel offers a streamlined approach without the complexity of heavier libraries.
  • Understanding of Iterators in PythonAug 14, 2024. Iterators in Python allow efficient traversal of sequences by implementing iter() and next() methods. Unlike iterables, iterators represent a stream of data and support on-demand value computation, enhancing memory efficiency and performance.
  • Functionality of DMA in C ProgrammingJul 28, 2024. Direct Memory Access (DMA) in C programming is a powerful technique for efficient memory management and data transfer. It allows peripherals to directly access memory without CPU intervention, enhancing system performance.
  • Efficient Data Retrieval with ADO.NET SqlDataReader Jul 23, 2024. SqlDataReader in ADO.NET provides fast, forward-only data retrieval from SQL Server databases. It reads data as a stream, minimizing memory usage, and making it ideal for large datasets. Unlike SqlDataAdapter, it offers high performance for read-only scenarios and is efficient in handling big data with minimal overhead.
  • The Functioning of Array of Integer PointersJun 30, 2024. In C programming, an array of integer pointers is declared similarly to a regular integer array, with the primary distinction being the addition of an asterisk (*) before the array name.
  • Understanding AsMemory() in C# .NET with ExamplesJun 24, 2024. In C#, the AsMemory method is a powerful tool for creating Memory&lt;T&gt; instances from arrays, array segments, or strings. It is part of the System.Memory namespace, which offers types designed to work with memory efficiently and safely without unnecessary heap allocations.
  • Memory Management in SQL ServerJun 21, 2024. Memory management in SQL Server is crucial for optimizing database performance. This involves configuring memory allocation, managing the buffer pool, and tuning queries to ensure efficient use of resources.
  • Understanding Caching in PythonJun 18, 2024. Understanding Caching in Python&quot; explores the concepts and techniques of caching to optimize performance in Python applications. Learn how caching improves data retrieval speed, reduces computational load, and enhances overall efficiency.
  • Learn Garbage Collection in PythonJun 17, 2024. Discover how garbage collection in Python manages memory automatically, preventing memory leaks and optimizing performance. Learn about reference counting, the role of the garbage collector, handling circular references, and best practices for efficient memory management in Python applications.
  • Garbage Collection (3), C# using statement --- Language support for DisposeJun 17, 2024. This article will discuss the C# using a statement. Garbage collection (GC) in computer science reclaims unused memory automatically. Invented by John McCarthy in 1959, GC simplifies memory management. This series explores GC in .NET, focusing on managed, unmanaged code and the `using` statement for resource management.
  • Optimizing Memory Management in C#Jun 04, 2024. In this article, we will learn Memory management and optimization are crucial aspects of C# development, especially for applications that demand high performance and efficient resource utilization.
  • JavaScript Memory Management and Avoiding Memory LeaksMay 29, 2024. JavaScript memory management ensures efficient allocation and deallocation of memory. Avoiding memory leaks is crucial for preventing excessive memory consumption. Techniques include proper garbage collection, managing references, and monitoring memory usage to optimize performance and prevent memory-related issues.
  • Understanding Threads and Processes: A Guide to MultiprocessingMay 28, 2024. Multiprocessing revolutionizes computing by allowing CPUs to handle multiple tasks concurrently. Explore process-based and thread-based multiprocessing, their characteristics, key differences, and practical applications.
  • A Different Perspective of Stack Memory in .NETMay 19, 2024. A Different Perspective of Stack Memory in .NET&quot; explores the intricacies of stack memory management within the .NET framework. It delves into the differences between stack and heap, the role of value and reference types, stack frames, and performance optimization.
  • Pointers to Pointers and How Pointers Relate with ArrayMay 16, 2024. Pointers is a type of data in C; hence we can also have pointers to pointers, just we have pointers to integers. Pointers to pointers offer flexibility in handling arrays, passing pointers variables to functions, etc.
  • Dereferencing Pointers and Void Pointers in CApr 29, 2024. Dereferencing pointers involves accessing the value stored at the memory address pointed to by a pointer. Void pointers in C are generic pointers that can point to any data type but require explicit typecasting before dereferencing to access the correct data.
  • Caching Strategies in ASP .NET CoreApr 25, 2024. ASP.NET Core offers diverse caching strategies, including in-memory, distributed, response, output, and donut caching. Choose wisely based on data needs, scalability, and granularity for optimal performance.
  • Implement Memory Cache with Sliding Expiration in .NETApr 24, 2024. This guide illuminates memory caching&#39;s efficacy in enhancing data retrieval by storing frequently accessed data in memory. Utilizing ConcurrentDictionary in C#, it illustrates the creation of a sliding expiration cache.
  • Implementing In-Memory Cache in ASP.NET Core Web APIApr 24, 2024. Caching is a crucial technique for improving the performance and responsiveness of web applications by storing frequently accessed data in memory. In this article, we&#39;ll walk through a complete practical example of implementing and using an in-memory cache in an ASP.NET Core Web API project.
  • Understanding the Python Global Interpreter Lock (GIL)Apr 23, 2024. The Python Global Interpreter Lock (GIL) is like a traffic cop inside your computer that makes sure only one thing happens at a time in Python, even if your computer has multiple processors.
  • Learn Memory Management in JavaScriptApr 08, 2024. JavaScript employs automatic memory management through garbage collection, eliminating manual memory allocation and deallocation. Here&#39;s how it works and considerations for efficient coding.
  • A Fun Analogy for Understanding Memory ManagementApr 07, 2024. Ever feel like your computer runs slow and sluggish? Just like a cluttered room, your computer&#39;s memory can get filled with unused things. The mark-and-sweep algorithm is a clever way for computers to clean up this mess, figuring out what&#39;s important and what can be tossed.
  • String Handling Functions implementation in C LanguageMar 29, 2024. In C programming, strings are fundamental for working with textual data. Unlike some other languages, C handles strings using character arrays with a null terminator.
  • Optimizing Application Performance In-Memory Cache in .NET CoreMar 27, 2024. In this article we will see how we can improve the performance of the application using IMemory Cache in .NETcore application.
  • Effective Communication Between Executable Files Using Shared MemoryMar 18, 2024. In a WPF (Windows Presentation Foundation) application, inter-process connectivity typically involves communication between different components or modules within the same application or between separate WPF applications running on the same system or across different systems.
  • What is Use of ‘Using’ Statement in .NET?Mar 15, 2024. In this article, we will cover What is the use of the ‘Using’ statement in .NET. The &#39;using&#39; statement in .NET ensures efficient resource management, prevents memory leaks, and promotes cleaner, more reliable code.
  • Understanding Caching in .NET With ExampleFeb 28, 2024. Caching is a cornerstone in .NET development, enhancing application performance and scalability. This article explores its significance, and diverse caching techniques, and offers a practical example for efficient implementation in .NET applications.
  • SQL Server Data Types for Performance, Memory EfficiencyFeb 28, 2024. &quot;Embark on a journey to unlock SQL Server&#39;s full potential through savvy data type selection. Enhance performance and streamline operations with optimal choices.
  • Better Implementation Of Singleton Pattern in .NETFeb 27, 2024. This article explains the mistakes made in writing Singleton Pattern in the multithreaded environment create a bug and how to bring a solution to it.
  • Understanding the C# 10 Memory ModelFeb 22, 2024. Ziggy Rafiq discusses the C# memory model, including stacks, heaps, garbage collection, and memory leaks
  • .NET 8 Memory Management: Refreshing Dynamic Memory LimitsFeb 06, 2024. In the ever-evolving landscape of software development, optimizing resource utilization is crucial, especially in dynamic cloud environments.
  • How to Refresh Memory Limit in .NET 8Feb 05, 2024. In .NET 8, adjust memory limits dynamically with GC.RefreshMemoryLimit(). Ideal for cloud environments, this feature allows efficient scaling of memory usage.
  • High-Performance Apps Using C# Span<T>Jan 29, 2024. Often in application we come scenarios where we need to perform string manipulation operations. In such cases using string type take up huge memory as it is immutable. Instead Span can be used, which saves memory
  • Implementing IP Rate Limiting in ASP.NET Core MVCJan 18, 2024. IP rate limiting is a crucial aspect of web application security that helps prevent abuse, protect against brute force attacks, and ensure fair resource usage. In this article, we will walk through the process of implementing IP rate limiting in an ASP.NET Core MVC application using middleware.
  • What is Inline Arrays in C# 12Jan 10, 2024. C# 12 unveils a hidden gem - inline arrays. This article delves into these performance powerhouses, showcasing how they boost speed, simplify memory management, and enhance type safety. Discover their functionalities and practical applications in diverse scenarios like geometric operations.
  • Understanding Collection Types in C#Jan 09, 2024. Delving into collection types like IEnumerable and IQueryable in C# unveils their impact on data querying efficiency. While IEnumerable offers simplicity for in-memory operations, it might load unnecessary data. IQueryable optimizes query execution by fetching only required data, which is beneficial, especially with extensive datasets or remote sources.
  • How to scale Spring Boot applications with NCache Java EditionJan 08, 2024. From this article, you will learn how to scale spring boot applications with NCache Java Edition. Spring Boot for efficient and scalable Java applications. Learn to integrate NCache, a distributed in-memory caching solution, for optimal performance and enhanced scalability.
  • Introduction to the IDisposable PatternJan 02, 2024. Article on the IDisposable pattern in C#, covering introduction, details, code examples, and best practices. This article will explore the IDisposable pattern, its significance, and how to implement it effectively in C# code.
  • Value Types vs Reference Types in C#Nov 18, 2023. This comprehensive guide delves into the fundamental concepts of C# data types, distinguishing between value types and reference types. Covering characteristics, pros and cons, key differences, and best practices, it offers insightful recommendations for optimal programming.
  • Memory Management In JavaScriptOct 23, 2023. In this article I&#39;m going to explain that how memory management works in JavaScript
  • ASP.NET Core In-Memory Caching ExplorationOct 20, 2023. Caching in web applications, like ASP.NET Core, enhances performance by storing frequently accessed data in memory. This article explains its benefits, types, and practical usage for database data.
  • Managed vs. Unmanaged Code in .NETOct 16, 2023. Managed code in .NET refers to programs written in high-level languages like C#, VB.NET, or F# that are compiled into Intermediate Language (IL) or Common Intermediate Language (CIL). This intermediate code is executed by the Common Language Runtime (CLR), which provides essential runtime services such as memory management, garbage collection, and security. The CLR ensures that memory is appropriately allocated and released, minimizing the risk of memory leaks and enhancing security. Managed code benefits from the extensive .NET Framework libraries and features, simplifying development and improving efficiency by offering a wide range of built-in functionalities.
  • In-Memory Caching in .NET: Boosting Performance with EaseSep 09, 2023. Explore the power of in-memory caching in .NET for enhanced application performance. Learn about its benefits, how to use MemoryCache, cache policies, and cache dependencies. Optimize your .NET applications for faster response times and reduced resource usage.
  • Garbage Collection in C#Sep 08, 2023. In C#, garbage collection is a memory management process where the runtime environment automatically identifies and reclaims memory that is no longer in use by the program. It helps prevent memory leaks and ensures efficient memory utilization by tracking and deallocating objects that are no longer reachable or referenced by the program. The .NET runtime provides an automatic garbage collector that runs in the background, making it easier for developers to work with memory without having to explicitly free memory resources like in languages with manual memory management, such as C and C++. This automated process helps improve code safety and reduces the risk of memory-related errors.
  • Optimizing Performance for Your .NET Core ApplicationAug 24, 2023. In this article, we will see the best practices which can improve the performance of your .NET core application
  • Workload Management Concepts in Azure Synapse AnalyticsJun 12, 2023. azure, azure synapse analytics, synapse, azure big data
  • Caching Strategies In .NET Core - Using Distributed Cache, Memory Cache And Response CacheApr 12, 2023. In this article, you will learn about Caching Strategies in .NET Core: Using Distributed Cache, Memory Cache and Response Cache.
  • Efficiently Working With Arrays And Memory In C# Using Span<T>Mar 08, 2023. In this article, we will see use of Span&lt;T&gt; to working with array.
  • Differences Between IEnumerable And IQueryable And Its Memory UsageFeb 28, 2023. IEnumerable and IQueryable are two of the most commonly used interfaces in .NET for dealing with collections of data. While both of these interfaces provide a way to access collections of data, they differ in their implementation and usage, as well as in their memory usage.
  • Collecting A Memory Dump From Azure App ServicesNov 29, 2022. In this article, you will learn how to collect a Memory Dump from Azure App Services.
  • Implement In-Memory Cache In The .NET Core APIJun 20, 2022. In this article, you will learn how to implement In-Memory Cache in the NET Core API.
  • Create a Simple Node Cache With Express Node JSMay 11, 2022. This article provides a sample application uses the Node Cache with explanation
  • Create a Redis Cache with Express Node JSMay 10, 2022. This article provides a sample application uses the Redis Cache with explanation
  • Memory ManagementApr 25, 2022. Memory management in the operating system is a kind of method or kind of functionality to manage the various kinds of memories. This means in the system there are a lot of different types of memory available like RAM, hard disk, CD, registers, etc., how to manage all the memory resources in a more efficient method. Memory management primarily manages the “primary memory”. Primary memory is the priority of memory management, which means memory management manages the primary memory as the top priority and a very large amount.
  • How To Implement Caching In The .NET Core Web API ApplicationFeb 10, 2022. In this article, we are going to explore about what is cache and how to implement caching in .NET Core web API application.
  • Advanced Entity Framework Core - Output EF SQL Queries To The Console And Tips To Setup Dbcontext With The Development In MindJan 10, 2022. When you work with abstractions over SQL Database you may be wondering what does Entity Framework constructs from your Linq queries. To get a clue on it here are 3 options. Tips to setup DbContext with the development in mind for development purposes, you may sometimes decide to use an in-memory database for all environments including production, you may set up&#160;HealthChecks, below shows how to add health checks for the DbContext also for the&#160;development environment good to have set&#160;o.EnableDetailedErrors(); and&#160;o.EnableSensitiveDataLogging(); ?to manipulate with all these&#160;options you may consider adding configuration options
  • Caching Mechanism In ASP.NET CoreSep 03, 2021. In this article, we will learn about Caching. First we will get some general level idea about caching and try to implement different types of caching in ASP.NET Core to supercharge our services. We will try to implement In-memory caching and Distributed Caching(with REDIS) in ASP.NET Core
  • Static Memory Allocation In C Programming😀Jun 28, 2021. In this article, you will learn about Static Memory Allocation in Programming Language.
  • How To Check Memory On Windows 10Jun 16, 2021. In this article, you will learn how to check the memory on Windows 10.
  • How To Save And View Data Using In-Memory Web APIMay 26, 2021. in this article, I told you about the post method and get method using in-memory web API.
  • How To Perform Get() Operation Using In-Memory Web API And Service In AngularMay 24, 2021. in this article, I told you that how to done get() operation using in-memory web API and service in angular.
  • Garbage Collection (2), Manage UnManaged CodeFeb 18, 2021. Discuss the garbage collection with unmanaged code: How to manage the unmanaged code in .NET, Dispose pattern
  • Garbage Collection (1), Manage Managed CodeFeb 15, 2021. Discuss the garbage collection with managed code: what is the process of the memory management of .NET in this article, while in (2) I will discuss How to manage the unmanaged code in .NET
  • Merge Multiple Pdfs Into A Single Pdf Using ItextSharpJan 27, 2021. Merge multiple PDFs into one using iTextSharp in C#. Utilize PdfReader to read input PDFs, PdfWriter to write merged PDF, and MemoryStream for efficient processing. Ensure proper error handling for robust PDF manipulation.
  • Cache-Aside Pattern Using ASP.NET Core And Azure Redis CacheDec 23, 2020. &quot;Implement Cache-Aside pattern in ASP.NET Core with Azure Redis Cache for efficient data retrieval. Cache data on-demand, reducing database load and enhancing application performance through distributed caching.
  • Into The Abyss - From C# To X64 Assembler And Memory DumpNov 02, 2020. In this article, you will learn how to explore live process call stack and memory allocations on stack.
  • Using Span<T> To Improve Performance Of C# CodeJul 13, 2020. To enhance application performance, reducing IO calls and utilizing stack allocation is crucial. Leveraging value types and the Span&lt;T&gt; structure in C# allows efficient memory management and improved speed.
  • Stack Vs Heap Memory - C#Apr 20, 2020. Explore the nuances of memory management in C# programming, distinguishing between value types and reference types, understanding dynamic and static memory allocation, evaluating access efficiency, recursion implications, handling StackOverflowException, and the role of garbage collection in managing memory resources efficiently.
  • Memory Cache in C#Apr 06, 2020. Learn about optimizing web application performance through cache implementation. Understand various cache types like in-memory, persistent, and distributed caches. Explore methods to add, store, retrieve, and manage data in the cache using .NET MemoryCache.
  • Building a Matching Pairs Memory Game Using Knockout JSMar 12, 2020. In this article, you will learn how to build a matching pairs memory game using Knockout JS.
  • Memory Management In PythonFeb 17, 2020. In this article, you will learn about Memory Management in Python.
  • Identity-Based Authentication In .NET Core 3.0 Using In-Memory DatabaseJan 31, 2020. Authentication is the process of determining or giving an individual access to system or user based on their identity. There are multiple options to do authentication in .NET Core. This article demonstrates how to add Identity-Based Authentication in .NET Core 3.0 using In-Memory Database.
  • SQL Server In Memory Table IndexesJan 28, 2020. In this article you will learn about SQL Server in memory table indexes.
  • Memory Optimizer AdvisorJan 22, 2020. In this article, you will learn about Memory Optimizer Advisor.
  • How to Prevent Memory Leak and Profiling in Xamarin ApplicationsJan 10, 2020. In this article, you will learn how to prevent memory leak and profiling in Xamarin applications.
  • Memory Optimized Tables In SQL ServerJan 09, 2020. In this article, you will learn about memory-optimized tables in SQL Server.
  • How To Check Memory Usage In Windows 10Dec 31, 2019. In this article, I have described how to Check Memory (random access memory) usage In Windows 10.
  • Introduction To RecursionNov 14, 2019. Recursion in programming involves a method calling itself with modified parameters until a termination condition is met. It operates on a Last In First Out (LIFO) stack memory. The algorithm consists of a recursive case and a base case.
  • Garbage Collection - Dispose Vs Finalize And IDisposable PatternOct 29, 2019. Explore Finalize, Destructor, IDisposable pattern in C# for managing unmanaged resources. Learn about memory management, Garbage Collector behavior, and IDisposable interface. Implement IDisposable for efficient memory cleanup and use Using block for automatic disposal, optimizing performance.
  • Windows 10 Memory Diagnostic ToolOct 11, 2019. This tutorial will show you various steps on how to use memory diagnostic tool in Windows 10.