[Bug] 26.3.0: 204 GB memory footprint despite automatic cleanup enabled at 4 GB
@NghiaTranUIT ci sta già lavorando.
Dal 2/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- macos
- Ambito
- desktop-dev, networking, performance
Direzione di ricerca
No source files, tests, or code entry points are identified in the issue. Start by reviewing the reported memory measurements and related issue #2293, then determine whether automatic cleanup ran and what targeted diagnostics can identify retained allocations. Done means the cleanup behavior and likely allocation source are understood well enough to explain the excessive memory use.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Proxyman 26.3.0 reached a physical footprint of approximately 204 GB after about 28 hours of uptime on a Mac with 48 GB RAM, despite Automatically Remove Older Requests being enabled with a 4 GB threshold.
This appears to be excessive retained memory / a possible memory leak. The exact allocation source and whether automatic cleanup actually ran are not yet known.
Steps to Reproduce
These are the conditions of the observed incident, not a confirmed minimal reproducer:
- Run Proxyman 26.3.0 on Apple Silicon with macOS 26.1.
- Capture HTTP/HTTPS traffic from development devices over an extended session (approximately 28 hours of app uptime).
- Use SSL Proxying for specific domains (31 enabled entries, no global
*wildcard). The global HTTP mode washttp1_only. - Keep Settings > Advanced > Automatically Remove Older Requests enabled. The settings UI says: “Remove older requests when memory exceeds 4 GB, at most once every 5 minutes.”
- Observe very high memory usage despite this setting.
Current Behavior
- Activity Monitor showed 200.22 GB for Proxyman.
- A subsequent read-only
vmmap -summarymeasurement reported:
Version: 26.3.0 (260300)
Code Type: ARM64
OS Version: macOS 26.1 (25B78)
Physical footprint: 204.2G
Physical footprint (peak): 206.9G
Writable regions:
Total=350.3G written=204.1G resident=14.1G swapped_out=190.1G
REGION TYPE VIRTUAL RESIDENT DIRTY SWAPPED
MALLOC_LARGE 332.5G 12.9G 12.9G 178.1G
MALLOC_LARGE (empty) 12.5G 1.0G 1.0G 11.5G
The footprint is not the amount of installed physical RAM; the process RSS was approximately 15 GB, with substantial compressed/paged-out memory. System-wide swap usage was approximately 17.5 GB.
At the time of inspection, Proxyman's own Overview report for the selected session showed:
- 30,197 requests, 1 in progress
- 83 MB transferred (29.7 MB uploaded, 53.3 MB downloaded)
- Largest recorded response: 392 KB
- Mostly JSON responses
- Recording active; SSL Proxying enabled
These are the currently retained session statistics, not necessarily all traffic processed during the app's lifetime. Nevertheless, the memory footprint seems severely disproportionate to the retained session data, and the configured cleanup threshold did not prevent it.
Expected Behavior
Automatic removal of older requests should keep long-running capture sessions within a reasonable memory budget. A 4 GB cleanup threshold should not allow the process footprint to grow beyond 200 GB without effective mitigation or an actionable warning.
Environment
- Proxyman: 26.3.0 (260300)
- macOS: 26.1 (25B78)
- Architecture: Apple Silicon / ARM64
- Physical RAM: 48 GB
- App uptime when inspected: approximately 28 hours
- HTTP mode: HTTP/1 only
- SSL Proxying: domain-specific include list; no global wildcard
- MCP enabled; used for read-only inspection after the high memory usage was already visible
Diagnostic limits / related report
The Activity Monitor and Advanced Settings values above were verified from screenshots. No manual Clear Session or restart test was performed as part of this inspection, so recovery behavior and repeatability are not yet established. No heap allocation backtraces have been collected.
This may be related to #2293, but I cannot confirm the same root cause; this report concerns version 26.3.0 with automatic cleanup explicitly enabled.
Could you advise which targeted diagnostics would help identify the retained allocations and verify whether automatic cleanup is running? Request bodies, credentials, and business hostnames are omitted from this public report.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 7.1k
- Fork
- 238
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ProxymanApp/Proxyman
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ProxymanApp/Proxyman#2821 ·
-
Could not observe system extension changesForse già presa @NghiaTranUIT l’ha presa 2 giorni fa. Aperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 45/100
ProxymanApp/Proxyman#2819 · 2 commenti · 1 assegnatario ·
-
启动后约 6 秒崩溃Forse già presa @NghiaTranUIT l’ha presa 8 giorni fa. Aperta✅ Done bug
ProxymanApp/Proxyman#2818 · 2 commenti · 1 assegnatario ·
-
[iPadOS] Local VPN toggle does not turn on and VPN profile is not created in iPadOS SettingsForse già presa @NghiaTranUIT l’ha presa 9 giorni fa. Apertabug
ProxymanApp/Proxyman#2817 · 1 commento · 1 assegnatario ·
-
Factory Reset in proxyman-cliForse già presa @NghiaTranUIT l’ha presa 8 giorni fa. Aperta✅ Done enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ProxymanApp/Proxyman#2816 · 1 commento · 1 assegnatario ·
Tutte le issue di ProxymanApp/Proxyman
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
FortoGraphy/prism-download-manager#242 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
makecindy/cindy#15342 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
Open-Glassbeetle/glassbeetle#457 ·
I maintainer di solito rispondono entro 1 giorno
-
The Eraser in Pencil mode now ignores Flow Jitter, but the panel still lets you edit itForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
storytold/photocraft#20056 ·
I maintainer di solito rispondono entro 1 giorno