Skip to content

test: add memory leak investigation tests#424

Open
vincent-herlemont wants to merge 3 commits into
mainfrom
memory-leak-investigation
Open

test: add memory leak investigation tests#424
vincent-herlemont wants to merge 3 commits into
mainfrom
memory-leak-investigation

Conversation

@vincent-herlemont

Copy link
Copy Markdown
Owner

Summary

  • Add comprehensive test suite for memory leak investigation and debugging
  • Include cache behavior testing, detailed logging, and systematic leak detection
  • Support ongoing memory optimization efforts in the database

Test plan

  • Run new memory leak tests locally
  • Verify tests pass in CI
  • Use tests to identify and resolve memory issues

Add memory allocation tracking and leak detection tests with required dependencies.
- Add memory_leak_cache_test.rs for testing cache behavior and cleanup
- Add memory_leak_debug.rs for debugging memory issues with detailed logging
- Add memory_leak_investigation.rs for systematic memory leak detection
- Add detailed memory tracking utilities in common/memory_tracker.rs
- Implement memory allocation monitoring across all test scenarios
- Add platform-specific analysis for macOS memory behavior
- Include cache size correlation tests for memory leak detection
- Enhance debugging capabilities with allocation pattern tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant