-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github.com/gogf/gf/v2/util/gvalid: valid binary field,a large amount of memory is consumed #4092
Comments
gf/util/gvalid/gvalid_validator_check_value.go Lines 289 to 295 in 80f57d1
gf/util/gconv/gconv_slice_any.go Lines 66 to 74 in 80f57d1
|
When the gf/util/gvalid/gvalid_validator_check_value.go Lines 289 to 295 in 80f57d1
When gf/util/gconv/gconv_slice_any.go Lines 66 to 74 in 80f57d1
|
Go version
go version go1.23.2 darwin/arm64
GoFrame version
2.7.4
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
When I validate a 50MB []byte field, the actual memory usage approaches 1GB.
What did you see happen?
High memory usage with delayed garbage collection.
What did you expect to see?
It shouldn't consume this much memory.
The text was updated successfully, but these errors were encountered: