Skip to content

[Feature Request] Limit memory usage for some low memory cases #1880

@ghost

Description

Is there a way to control the memory usage of Xray?
On iOS, there is poor 50M memory available for VPN process. I have tried to research the mechanism of golang GC, and tried some option like "GOMEMLIMIT", but I am not sure it is useful.
Is it possible that Xray supports this feature in the future?
I know sing-box has implemented it, but it can not be used directly because of its GPL license.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions