[GH-ISSUE #394] [Feature] Show memory and cpu usage by proxy man #390

Closed
opened 2026-03-03 19:18:09 +03:00 by kerem · 9 comments
Owner

Originally created by @shirshak55 on GitHub (Feb 5, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/394

Originally assigned to: @NghiaTranUIT on GitHub.

sometime application hangs while decoding ssl. It is useful if its really the proxy man ssl decoding consequence it or computer is hanging because of other reason. Charles proxy has always shown the memory usage.

May be sbrk(0) etc can be used to calculate existing heap usage as I don't think stack memory impacts too much.

Originally created by @shirshak55 on GitHub (Feb 5, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/394 Originally assigned to: @NghiaTranUIT on GitHub. sometime application hangs while decoding ssl. It is useful if its really the proxy man ssl decoding consequence it or computer is hanging because of other reason. Charles proxy has always shown the memory usage. May be `sbrk(0)` etc can be used to calculate existing heap usage as I don't think stack memory impacts too much.
kerem 2026-03-03 19:18:09 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 6, 2020):

There are some memory leaking I found couple days ago in ClientScanner class, which is responsible for scanning App with given pid. I forgot to release some pointer in C class 😢

Let me research how to get the memory usage and support it soon. Thank you for bumping it 👍

<!-- gh-comment-id:582699854 --> @NghiaTranUIT commented on GitHub (Feb 6, 2020): There are some memory leaking I found couple days ago in ClientScanner class, which is responsible for scanning App with given `pid`. I forgot to release some pointer in C class 😢 Let me research how to get the memory usage and support it soon. Thank you for bumping it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 22, 2020):

I found this gem: https://github.com/iglance/iGlance, which has all low-level I need, include Ram, Network, ....

Credit to authors of iGlance 🙌

<!-- gh-comment-id:589910093 --> @NghiaTranUIT commented on GitHub (Feb 22, 2020): I found this gem: https://github.com/iglance/iGlance, which has all low-level I need, include Ram, Network, .... Credit to authors of iGlance 🙌
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 22, 2020):

After bunch of trial and errors, it's the only way to get correct memory usage, which is presented in Xcode and Activity Monitor: https://stackoverflow.com/a/57315975/3127477 🙌

It's time to support Network and Memory Usage in Proxyman 🌮

<!-- gh-comment-id:589916470 --> @NghiaTranUIT commented on GitHub (Feb 22, 2020): After bunch of trial and errors, it's the only way to get correct memory usage, which is presented in Xcode and Activity Monitor: https://stackoverflow.com/a/57315975/3127477 🙌 It's time to support Network and Memory Usage in Proxyman 🌮
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 22, 2020):

It's done @shirshak55 🙌 . I consider to support Memory and Network usage (not CPU), since those variables would be valuable and a option to opt-out if someone doesn't like it 😆

BETA: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.16.0_Memory_Network_Usage.dmg

Screen_Shot_2020-02-22_at_18_11_17 Screen_Shot_2020-02-22_at_18_13_39
<!-- gh-comment-id:589946285 --> @NghiaTranUIT commented on GitHub (Feb 22, 2020): It's done @shirshak55 🙌 . I consider to support Memory and Network usage (not CPU), since those variables would be valuable and a option to opt-out if someone doesn't like it 😆 BETA: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.16.0_Memory_Network_Usage.dmg <img width="1578" alt="Screen_Shot_2020-02-22_at_18_11_17" src="https://user-images.githubusercontent.com/5878421/75091398-48eeec00-559f-11ea-9db6-557da60b84b5.png"> <img width="672" alt="Screen_Shot_2020-02-22_at_18_13_39" src="https://user-images.githubusercontent.com/5878421/75091404-5906cb80-559f-11ea-80c8-3f06f2f83567.png">
Author
Owner

@shirshak55 commented on GitHub (Feb 22, 2020):

i saw it on twitter.

<!-- gh-comment-id:589953192 --> @shirshak55 commented on GitHub (Feb 22, 2020): i saw it on twitter.
Author
Owner

@shirshak55 commented on GitHub (Feb 22, 2020):

thanks again.

<!-- gh-comment-id:589953198 --> @shirshak55 commented on GitHub (Feb 22, 2020): thanks again.
Author
Owner

@shirshak55 commented on GitHub (Feb 22, 2020):

hmm are u planning to add cpu usage?

<!-- gh-comment-id:589953290 --> @shirshak55 commented on GitHub (Feb 22, 2020): hmm are u planning to add cpu usage?
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 22, 2020):

I don't see any benefit to see the CPU so I remove it from the initial implementation.

<!-- gh-comment-id:589955614 --> @NghiaTranUIT commented on GitHub (Feb 22, 2020): I don't see any benefit to see the CPU so I remove it from the initial implementation.
Author
Owner

@shirshak55 commented on GitHub (Feb 22, 2020):

actually it is useful when u do ssl parsing whether its proxy man or other is taking cpu. Most of the time when doing ssl monitoring i see proxyman using lot of cpu.

<!-- gh-comment-id:589956895 --> @shirshak55 commented on GitHub (Feb 22, 2020): actually it is useful when u do ssl parsing whether its proxy man or other is taking cpu. Most of the time when doing ssl monitoring i see proxyman using lot of cpu.
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#390
No description provided.