Abstract AlgorithmsAbstract Algorithms

  • Home
  • All Posts
  • All Series
  • About

Category

memory management

2 articles across 2 sub-topics

Context-window(1)

Context Window Management: Strategies for Long Documents and Extended Conversations

TLDR: 🧠 Context windows are LLM memory limits. When conversations grow past 4K-128K tokens, you need strategies: sliding windows (cheap, lossy), summarization (balanced), RAG (selective), map-reduce (scalable), or selective memory (precise). LangCha...

Mar 29, 2026•20 min read
Java(1)
Java Memory Model Demystified: Stack vs. Heap

Java Memory Model Demystified: Stack vs. Heap

TLDR: Java memory is split into two main areas: the Stack for method execution frames and primitives, and the Heap for all objects. Understanding their differences is essential for avoiding stack overflow errors, memory leaks, and garbage collection ...

Feb 10, 2026•14 min read

Abstract Algorithms

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

Navigation

  • Home
  • All Posts
  • All Series
  • About

Series

  • Software Engineering Principles
  • System Design Interview Prep
  • How It Works: Internals Explained
  • Architecture Patterns for Production Systems
  • Data Structures and Algorithms

Popular Topics

  • distributed systems
  • System Design
  • Databases
  • consistency
  • NoSQL
  • SQL

Author

Abstract Algorithms

Abstract Algorithms

@abstractalgorithms

1 followers on Hashnode

Ā© 2026 Abstract Algorithms. All rights reserved.

Powered by Hashnode