Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Move collection cache internals to PSRAM-aware allocators - #10

Merged
zekageri merged 1 commit into
mainfrom
psram-cache-placement
Mar 10, 2026
Merged

zekageri merged 1 commit into
mainfrom
psram-cache-placement

Conversation

@zekageri

Copy link
Copy Markdown
Collaborator

Summary

  • add ESP32 heap_caps_* fallback in JsonDbAllocator when ESPBufferManager is unavailable
  • move collection _docs map node allocation to JsonDbAllocator so cache index nodes can follow usePSRAMBuffers
  • replace make_shared<DocumentRecord> call paths with allocate_shared using JsonDbAllocator
  • add psramBufferWiringTest and wire it into DbTester run sequence

Testing

  • not run in this environment (cmake and pio are unavailable)

@zekageri
zekageri merged commit 46b523d into main Mar 10, 2026
8 checks passed
@zekageri
zekageri deleted the psram-cache-placement branch March 10, 2026 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant