[GH-ISSUE #74] Atlantis uses huge amounts of memory if Proxyman isn't running #50

Closed
opened 2026-03-03 19:11:19 +03:00 by kerem · 3 comments
Owner

Originally created by @mluisbrown on GitHub (Jun 4, 2021).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/74

Originally assigned to: @NghiaTranUIT on GitHub.

We have Atlantis in our app, and the app receives a lot of web socket messages. If Proxyman isn't running, all these messages (and any other network requests) get appended to pendingPackages here: https://github.com/ProxymanApp/atlantis/blob/main/Sources/Transporter.swift#L95

There seems to be no limit on the size of this array, so this will continue until the app runs out of memory, or Proxyman is launched.

It would be great to have an option to disable the storing of pending packages, so if you don't have Proxyman running, these packages are just lost, and you only start seeing new data in Proxyman from the moment you start it.

Originally created by @mluisbrown on GitHub (Jun 4, 2021). Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/74 Originally assigned to: @NghiaTranUIT on GitHub. We have Atlantis in our app, and the app receives a *lot* of web socket messages. If Proxyman isn't running, all these messages (and any other network requests) get appended to `pendingPackages` here: https://github.com/ProxymanApp/atlantis/blob/main/Sources/Transporter.swift#L95 There seems to be no limit on the size of this array, so this will continue until the app runs out of memory, or Proxyman is launched. It would be great to have an option to disable the storing of pending packages, so if you don't have Proxyman running, these packages are just lost, and you only start seeing new data in Proxyman from the moment you start it.
kerem 2026-03-03 19:11:19 +03:00
  • closed this issue
  • added the
    Done
    label
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 4, 2021):

It's a good point 👍

I suppose that I will add a limit (50 items at max or Receiving the Memory Warning), then it will release all pending data.

Let me fix it 💯

<!-- gh-comment-id:854613874 --> @NghiaTranUIT commented on GitHub (Jun 4, 2021): It's a good point 👍 I suppose that I will add a limit (50 items at max or Receiving the Memory Warning), then it will release all pending data. Let me fix it 💯
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 4, 2021):

Just a friendly reminder that this issue is fixed and released. Please check it out 😄 @mluisbrown

<!-- gh-comment-id:854726895 --> @NghiaTranUIT commented on GitHub (Jun 4, 2021): Just a friendly reminder that this issue is fixed and released. Please check it out 😄 @mluisbrown
Author
Owner

@mluisbrown commented on GitHub (Jun 4, 2021):

Thank you so much for the amazingly fast turnaround 🙏

<!-- gh-comment-id:854730788 --> @mluisbrown commented on GitHub (Jun 4, 2021): Thank you so much for the amazingly fast turnaround 🙏
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/atlantis#50
No description provided.