[GH-ISSUE #1765] Improve App Memory usage #1759

Open
opened 2026-03-03 19:54:06 +03:00 by kerem · 2 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Sep 9, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1765

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Some reports that Proxyman is consuming a lot of RAM when used for long hours or dates. We should find memory leaks or find a solution to release unused resources.

Acceptance Criteria

  • Use LRU for caching the Server Certificate
  • Observe the Memory => If it exceeds 1Gb -> Release half of the connections/flows if there is a memory warning notification.
  • Remove some unused internal locks of each Request/Response objects
  • Clear the cache flows properly => Turn out the request arrays are not clean up properly.
Originally created by @NghiaTranUIT on GitHub (Sep 9, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1765 Originally assigned to: @NghiaTranUIT on GitHub. ## Description Some reports that Proxyman is consuming a lot of RAM when used for long hours or dates. We should find memory leaks or find a solution to release unused resources. ## Acceptance Criteria - Use LRU for caching the Server Certificate - Observe the Memory => If it exceeds 1Gb -> Release half of the connections/flows if there is a memory warning notification. - Remove some unused internal locks of each Request/Response objects - Clear the cache flows properly => Turn out the request arrays are not clean up properly.
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 9, 2023):

Beta 1:

<!-- gh-comment-id:1712453376 --> @NghiaTranUIT commented on GitHub (Sep 9, 2023): ## Beta 1: - https://download.proxyman.io/beta/Proxyman_4.10.0_improve_app_memory_usage.dmg
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 10, 2023):

Beta 2:

<!-- gh-comment-id:1712751288 --> @NghiaTranUIT commented on GitHub (Sep 10, 2023): ## Beta 2: - Auto clean up 1/2 of unused resources (Request/Response) if RAM Usage is over 2Gb - Reduce the number of internal locks on each Request/Response -> Less RAM Consuming - Download: https://download.proxyman.io/beta/Proxyman_4.10.0_Auto_clean_unused_resources.dmg
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1759
No description provided.