Memory
Everything on SkillVeris tagged Memory — collected across the glossary, study notes, blog, and cheat sheets.
26 resources across 2 libraries
Study Notes(24)
Span<T> and Memory<T>
How Span<T> and Memory<T> let .NET code work with contiguous memory safely and with minimal or zero allocations, and when to use each.
Unit Testing with the In-Memory Provider
How to use EF Core's InMemory provider and SQLite in-memory mode to test data access code, and where each approach falls short.
Caching Strategies: In-Memory and Distributed
How to use IMemoryCache and IDistributedCache in ASP.NET Core to reduce database load, and how to choose between them.
Multidimensional Arrays
How Fortran declares, stores, and loops over arrays with two or more dimensions, and why column-major order shapes fast code.
Dynamic Memory Management
Understand pointers, the heap, and how to allocate, use, and free dynamic memory safely in Pascal.
Storage, Memory, and Calldata
Solidity keeps data in three places — persistent storage, temporary memory, and read-only calldata — and choosing correctly shapes both gas cost and correctnes…
ARC and Memory Management
How Automatic Reference Counting manages object lifetimes in Objective-C, and how it relates to the manual retain/release model it replaced.
D vs C++
A practical comparison of D and C++ covering memory management, compile-time metaprogramming, syntax safety, and tooling to help you decide when D is the bette…
Manual Memory Management in D
How to opt out of D's garbage collector using malloc/free, std.experimental.allocator, and struct-based RAII for deterministic, low-latency memory control.
Refs and Software Transactional Memory
Refs and Clojure's software transactional memory (STM) let you update multiple pieces of state together, atomically and consistently, using dosync transactions.
Memory Addressing Modes
How assembly instructions specify where an operand's value actually lives — immediate, register, direct, and indexed addressing explained with examples.
The Heap and Dynamic Memory
How assembly programs request and manage runtime memory using brk/sbrk and mmap, and the manual bookkeeping needed to avoid leaks.
Memory Management in Wasm
How WebAssembly's linear memory model works, how it grows, and how it differs from garbage-collected host environments like JavaScript.
Redis Memory Optimization
Techniques for minimizing Redis's RAM footprint, from choosing efficient encodings and bucketing strategies to compression, serialization, and maxmemory tuning.
What Is Redis?
An introduction to Redis as an in-memory data structure store, covering what makes it different from disk-based databases and why it's become a staple of moder…
Dynamic Memory Allocation in C++
Learn how `new` and `delete` allocate and free heap memory at runtime, and why forgetting to `delete` causes a memory leak.
Dynamic Memory Allocation in C
Master C dynamic memory allocation with malloc, calloc, realloc, and free, including sizing, zero-initialization, and leak prevention.
Memory Management in C
Understand C's memory layout — text, data, heap, and stack segments — and when to choose stack vs heap allocation.
Memory Management and ARC in Swift
Understand how Automatic Reference Counting manages class instance memory in Swift and how to avoid retain cycles.
Contiguous Memory Allocation
Allocating each process a single unbroken block of physical memory, and the fragmentation problems that follow.
Memory Management Basics
How an OS tracks, allocates, and protects the memory used by processes running on a system.
Shared Memory
The fastest IPC mechanism, mapping common memory into multiple processes, at the cost of requiring explicit synchronization.
Virtual Memory Concepts
The abstraction that gives each process its own address space, which can be larger than physical RAM.
Garbage Collection and Memory
The .NET garbage collector automatically reclaims managed memory using a generational, tracing algorithm, freeing developers from manual deallocation while sti…
Cheat Sheets(2)
Java JVM Internals Cheat Sheet
Explains JVM memory regions, class loading, garbage collectors, GC tuning flags, and diagnostic tools for troubleshooting Java applications.
C++ Pointers & Memory Management Cheat Sheet
Covers C++ pointer syntax, dynamic memory allocation with new and delete, pointer arithmetic, and common memory management pitfalls.