Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FreeBytes (0.14 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
            return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/internal/profilerecord/profilerecord.go

    package profilerecord
    
    type StackRecord struct {
    	Stack []uintptr
    }
    
    type MemProfileRecord struct {
    	AllocBytes, FreeBytes     int64
    	AllocObjects, FreeObjects int64
    	Stack                     []uintptr
    }
    
    func (r *MemProfileRecord) InUseBytes() int64   { return r.AllocBytes - r.FreeBytes }
    func (r *MemProfileRecord) InUseObjects() int64 { return r.AllocObjects - r.FreeObjects }
    
    type BlockProfileRecord struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 815 bytes
    - Viewed (0)
  3. src/runtime/pprof/protomem_test.go

    	rate := int64(512 * 1024)
    	rec := []profilerecord.MemProfileRecord{
    		{AllocBytes: 4096, FreeBytes: 1024, AllocObjects: 4, FreeObjects: 1, Stack: []uintptr{a1, a2}},
    		{AllocBytes: 512 * 1024, FreeBytes: 0, AllocObjects: 1, FreeObjects: 0, Stack: []uintptr{a2 + 1, a2 + 2}},
    		{AllocBytes: 512 * 1024, FreeBytes: 512 * 1024, AllocObjects: 1, FreeObjects: 1, Stack: []uintptr{a1 + 1, a1 + 2, a2 + 3}},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top