Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for mezery (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            public long used;
            /** Committed non-heap memory in bytes */
            public long committed;
            /** Maximum non-heap memory in bytes */
            public long max;
            /** The percentage of non-heap memory usage. */
            public short percent;
        }
    
        /**
         * Data transfer object representing JVM buffer pool statistics.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // Test that constructor accepts Error as cause (verifies Throwable parameter change)
            String message = "SSO login failed due to memory error";
            OutOfMemoryError error = new OutOfMemoryError("Not enough memory for SSO login");
            SsoLoginException exception = new SsoLoginException(message, error);
    
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    import java.util.Date;
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. src/main/assemblies/files/fess.in.bat

    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    set FESS_MAX_MEM=%FESS_HEAP_SIZE%
    )
    
    REM min and max heap sizes should be set to the same value to avoid
    REM stop-the-world GC pauses during resize, and so that we can lock the
    REM heap in memory on startup to prevent any of it from being swapped
    REM out.
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=32m
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            // Test that constructor accepts Error as cause (verifies Throwable parameter change)
            String message = "SSO process failed due to OutOfMemoryError";
            OutOfMemoryError error = new OutOfMemoryError("Insufficient memory for SSO processing");
            SsoProcessException exception = new SsoProcessException(message, error);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            searchEngineClient = new SearchEngineClient() {
                @Override
                public long deleteByQuery(String index, QueryBuilder query) {
                    throw new OutOfMemoryError("Out of memory");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // OutOfMemoryError is an Error, not Exception, so it will not be caught
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Create some objects to change memory usage
            @SuppressWarnings("unused")
            String[] largeArray = new String[1000];
            for (int i = 0; i < 1000; i++) {
                largeArray[i] = "test" + i;
            }
    
            long memory2 = MemoryUtil.getUsedMemory();
            assertTrue(memory2 >= 0);
            // Memory usage should have changed (though we can't guarantee direction due to GC)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

        }
    
        private void appendJvmStats(final StringBuilder buf) {
            buf.append("\"jvm\":{");
            final JvmStats jvmStats = JvmStats.jvmStats();
            final Mem mem = jvmStats.getMem();
            buf.append("\"memory\":{");
            buf.append("\"heap\":{");
            append(buf, "used", () -> mem.getHeapUsed().getBytes()).append(',');
            append(buf, "committed", () -> mem.getHeapCommitted().getBytes()).append(',');
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertTrue(customException.getCause() instanceof FessSystemException);
    
            // Test with Error (not Exception)
            Throwable errorCause = new OutOfMemoryError("Out of memory");
            GsaConfigException errorException = new GsaConfigException("GSA memory error", errorCause);
            assertNotNull(errorException);
            assertTrue(errorException.getCause() instanceof OutOfMemoryError);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
     * Manager class for chat sessions.
     * Sessions are stored in memory with automatic expiration.
     *
     * <p><b>Note:</b> Sessions are stored in a local in-memory ConcurrentHashMap.
     * In multi-instance deployments (e.g., behind a load balancer), sessions are
     * not shared between instances. Use sticky sessions or an external session
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
Back to Top