reduce memory limits to 45 MB for more accurate CI testing

- Router: 60 MB -> 45 MB
- Proxy: 170 MB -> 45 MB
- CI environment provides cleaner memory measurements without:
  - IDE/debugger overhead holding references
  - Development tool memory fragmentation
  - Local process competition
- 45 MB limit reflects true router/proxy memory usage
- Stricter CI limits help catch real memory leaks more reliably
This commit is contained in:
Alexsander Hamir 2026-01-10 17:36:30 -08:00
parent e868a5702e
commit d0444c7287
2 changed files with 2 additions and 3 deletions

View file

@ -41,7 +41,7 @@ from tests.load_tests.memory_leak_utils import (
)
# Memory limit for all linear memory growth tests
MEMORY_LIMIT = "170 MB"
MEMORY_LIMIT = "45 MB"
# Test Configuration
TEST_API_KEY = "sk-1234"

View file

@ -29,8 +29,7 @@ from tests.load_tests.memory_leak_utils import (
)
# Memory limit for all linear memory growth tests
# Increased to 60 MB to account for larger batch size (100 vs 20) which creates more temporary objects
MEMORY_LIMIT = "60 MB"
MEMORY_LIMIT = "45 MB"
@pytest.mark.asyncio