Files
Kazuki YamadaandClaude Opus 4.6 5c55597512 docs(core): Replace tiktoken references with gpt-tokenizer
Update all documentation, build configuration, and source comments
to reflect the completed migration from tiktoken to gpt-tokenizer.

- Update tokenCount.encoding description to say "OpenAI-compatible
  tokenization" with gpt-tokenizer link (README + 15 language docs)
- Remove tiktoken from bundling external deps list since
  gpt-tokenizer is pure JS (README + 15 language docs)
- Remove tiktoken COPY from Dockerfile and external from bundle.mjs
- Simplify source code comments removing migration artifacts
- Regenerate scripts/memory/package-lock.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:37:26 +09:00
..

Memory Benchmarks

Memory usage monitoring tools for repomix.

Setup

cd scripts/memory
npm install

Quick Start

# Quick memory leak check
npm run leak:quick

# Detailed analysis
npm run leak:analyze

Available Scripts

  • npm run leak:quick - Fast leak detection (20 iterations)
  • npm run leak:watch - Continuous monitoring
  • npm run leak:analyze - Comprehensive analysis with reports

Understanding Results

  • Heap Memory: JavaScript objects (should stabilize)
  • RSS Memory: Total process memory (watch for growth > 100%)

Look for consistent upward trends that indicate memory leaks.