[Bug] 26.3.0: 204 GB memory footprint despite automatic cleanup enabled at 4 GB
@NghiaTranUIT is already working on this.
Since Nov 2, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- macos
- Domain
- desktop-dev, networking, performance
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- No language data
- Stars
- 7.1k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProxymanApp/Proxyman
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
ProxymanApp/Proxyman#2821 ·
-
Could not observe system extension changesPossibly taken @NghiaTranUIT claimed this 2 days ago. Open
Difficulty 4/5 1-2 days Newbie friendliness 45/100
ProxymanApp/Proxyman#2819 · 2 comments · 1 assignee ·
-
启动后约 6 秒崩溃Possibly taken @NghiaTranUIT claimed this 8 days ago. Open✅ Done bug
ProxymanApp/Proxyman#2818 · 2 comments · 1 assignee ·
-
[iPadOS] Local VPN toggle does not turn on and VPN profile is not created in iPadOS SettingsPossibly taken @NghiaTranUIT claimed this 9 days ago. Openbug
ProxymanApp/Proxyman#2817 · 1 comment · 1 assignee ·
-
Factory Reset in proxyman-cliPossibly taken @NghiaTranUIT claimed this 8 days ago. Open✅ Done enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ProxymanApp/Proxyman#2816 · 1 comment · 1 assignee ·
All issues in ProxymanApp/Proxyman
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
FortoGraphy/prism-download-manager#242 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
makecindy/cindy#15342 · 1 comment ·
Maintainers usually reply within 1 day
-
accessibility bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Open-Glassbeetle/glassbeetle#457 ·
Maintainers usually reply within 1 day
-
The Eraser in Pencil mode now ignores Flow Jitter, but the panel still lets you edit itPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
storytold/photocraft#20056 ·
Maintainers usually reply within 1 day