Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for OutOfMemoryError (0.29 sec)

  1. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // OutOfMemoryError is an Error, not Exception, so it will not be caught
            // The test should expect the error to propagate
            try {
                purgeDocJob.execute();
                fail("Expected OutOfMemoryError to be thrown");
            } catch (OutOfMemoryError e) {
                assertEquals("Out of memory", e.getMessage());
            }
        }
    
        public void test_execute_verifyQueryToString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    throw new OutOfMemoryError("Simulated OOM");
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job - Error should NOT be caught since implementation only catches Exception
            try {
                aggregateLogJob.execute();
                fail("OutOfMemoryError should not be caught by Exception handler");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final NullPointerException npeCause = new NullPointerException("Null query parameter");
            final IllegalStateException iseCause = new IllegalStateException("Invalid parser state");
            final OutOfMemoryError oomCause = new OutOfMemoryError("Query too large");
    
            // Execute
            final InvalidQueryException npeException = new InvalidQueryException(messageCode, message, npeCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // 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);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
      private static final int GOLDEN_PRESENT_KEY = random.get().nextInt();
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(runtimeException, exception.getCause());
            });
    
            // Test with error
            Error error = new OutOfMemoryError("Out of memory");
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(error);
                assertEquals(error, exception.getCause());
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            for (int i = 0; i < 100; i++) {
                FessTimeResourceProvider tempProvider = new FessTimeResourceProvider(mockConfig);
                assertNotNull(tempProvider);
            }
            // If this completes without OutOfMemoryError, test passes
            assertTrue(true);
        }
    
        // Test equals and hashCode if implemented
        public void test_equalsAndHashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
      private static final int GOLDEN_PRESENT_KEY = random.get().nextInt();
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. guava-gwt/pom.xml

                  <logLevel>${gwt.logLevel}</logLevel>
                  <mode>htmlunit</mode>
                  <htmlunit>FF38</htmlunit>
                  <productionMode>true</productionMode>
                  <!-- Fix OutOfMemoryError under Travis. -->
                  <extraJvmArgs>-Xms3500m -Xmx3500m -Xss1024k</extraJvmArgs>
                  <sourceLevel>1.8</sourceLevel>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Single Unicode character
            testTransformer.setName("あ");
            assertEquals("あ", testTransformer.getName());
    
            // Maximum practical length (avoid OutOfMemoryError)
            StringBuilder maxName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                maxName.append("0123456789");
            }
            testTransformer.setName(maxName.toString());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top