make gomemlimits 500mb

This commit is contained in:
Abhishek Pandey 2023-11-20 21:56:05 -08:00
parent bcaa5d434d
commit 7983598b17

View File

@ -26,7 +26,7 @@ var profileCounter = 0
func main() {
defer profile.Start(profile.MemProfile).Stop()
debug.SetMemoryLimit(1 * 1024 * 1024 * 1024)
debug.SetMemoryLimit(0.5 * 1024 * 1024 * 1024)
go func() {
for {