Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals("909.494PB", MemoryUtil.byteCountToDisplaySize(1000_000_000_000_000_000L));
            assertEquals("1.024EB", MemoryUtil.byteCountToDisplaySize(FileUtils.ONE_EB));
        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top