mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4984] Abnormal memory usage #3928
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3928
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KaiveYoung on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4984
Bug Description
The compiled version of the package.sh script uses more memory than the released version downloaded from GitHub.
I'm using a Linux ARM32 architecture with 128MB of total system memory. With the same configuration file, the version downloaded from GitHub only uses 3 to 4MB, but the compiled version from package.sh uses 15MB.
I compiled using
go version go1.24.6 linux/amd64I'd like to know what environment the GitHub release version was compiled in, and why my compiled version uses so much memory.
Thank you.
frpc Version
0.64.0
frps Version
0.64.0
System Architecture
linux/arm
Configurations
[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 55599
token =xxxxx
tls_enable = true
[xxxxxxxxxxxxxxxx]
type = stcp
sk = xxxx
local_ip = 127.0.0.1
local_port = 22
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Sep 19, 2025):
The build environment for frp is set up in GitHub Actions; there’s nothing special about it: https://github.com/fatedier/frp/blob/dev/.github/workflows/goreleaser.yml
@KaiveYoung commented on GitHub (Sep 19, 2025):
thank you