Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for vssLimit (0.15 sec)

  1. cmd/server-rlimit.go

    		return err
    	}
    
    	_, vssLimit, err := sys.GetMaxMemoryLimit()
    	if err != nil {
    		return err
    	}
    
    	if vssLimit > 0 && vssLimit < humanize.GiByte {
    		logger.Info("WARNING: maximum virtual memory limit (%s) is too small for 'go runtime', please consider setting `ulimit -v` to unlimited",
    			humanize.IBytes(vssLimit))
    	}
    
    	if ctx.MemLimit > 0 {
    		debug.SetMemoryLimit(int64(ctx.MemLimit))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top