static int initAllDumpPageSize() {
        long memLimitMB = getMemLimitMB();
        
        //512MB->50 Page Size
        int pageSize = (int) ((float) memLimitMB / PAGE_MEMORY_DIVIDE_MB) * MIN_DUMP_PAGE;
        pageSize = Math.max(pageSize, MIN_DUMP_PAGE);
        pageSize = Math.min(pageSize, MAX_DUMP_PAGE);
        LOGGER.info("All dump page size is set to {} according to mem limit {} MB", pageSize, memLimitMB);
        return pageSize;
    }
@Test
    void testGetAllDumpPageSizeWithJvmArgs() throws Exception {
        
        File file = new File(mockMem);
        if (file.exists()) {
            file.delete();
        }
        int allDumpPageSizeUnderMin = PropertyUtil.initAllDumpPageSize();
        long maxMem = Runtime.getRuntime().maxMemory();
        long pageSize = maxMem / 1024 / 1024 / 512 * 50;
        if (pageSize < 50) {
            assertEquals(50, allDumpPageSizeUnderMin);
        } else if (pageSize > 1000) {
            assertEquals(1000, allDumpPageSizeUnderMin);
        } else {
            assertEquals(pageSize, allDumpPageSizeUnderMin);
        }
    }