Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23698

Windows: OutOfMemoryError if start 3 nodes on 1 machine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • persistence, platforms
    • 3 nodes on single machine (cores=9, memory=32766)

    • Docs Required, Release Notes Required

    Description

      Steps to reproduce:

      1. Start 3 nodes on single machine (cores=9, memory=32766).
      2. Execute init cluster.

      Expected results:

      Cluster initialized.

      Actual:

      servers_logs.zip
      One or two nodes from the cluster throws OutOfMemoryError:

      Server error:
      2024-11-17 22:25:50:277 -0600 [ERROR][%ClusterFailover3NodesTest_cluster_1%join-0][IgniteImpl] Unable to start [node=ClusterFailover3NodesTest_cluster_1] java.util.concurrent.CompletionException: java.lang.OutOfMemoryError: Unable to allocate 1717931624 bytes     at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)     at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)     at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791)     at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)     at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.OutOfMemoryError: Unable to allocate 1717931624 bytes     at java.base/jdk.internal.misc.Unsafe.allocateMemory(Unsafe.java:632)     at jdk.unsupported/sun.misc.Unsafe.allocateMemory(Unsafe.java:462)     at org.apache.ignite.internal.util.GridUnsafe.allocateMemory(GridUnsafe.java:1214)     at org.apache.ignite.internal.pagememory.mem.unsafe.UnsafeMemoryAllocator.allocateMemory(UnsafeMemoryAllocator.java:28)     at org.apache.ignite.internal.pagememory.mem.unsafe.UnsafeMemoryProvider.nextRegion(UnsafeMemoryProvider.java:114)     at org.apache.ignite.internal.pagememory.persistence.PersistentPageMemory.start(PersistentPageMemory.java:300)     at org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryDataRegion.start(PersistentPageMemoryDataRegion.java:115)     at org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine.addDataRegion(PersistentPageMemoryStorageEngine.java:311)     at org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine.lambda$start$0(PersistentPageMemoryStorageEngine.java:192)     at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)     at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)     at java.base/java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180)     at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104)     at java.base/java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711)     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)     at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)     at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)     at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)     at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)     at org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine.start(PersistentPageMemoryStorageEngine.java:190)     at java.base/java.lang.Iterable.forEach(Iterable.java:75)     at org.apache.ignite.internal.storage.DataStorageManager.startAsync(DataStorageManager.java:62)     at org.apache.ignite.internal.app.LifecycleManager.startComponentAsync(LifecycleManager.java:87)     at org.apache.ignite.internal.app.LifecycleManager.startComponentsAsync(LifecycleManager.java:105)     at org.apache.ignite.internal.app.IgniteImpl.lambda$joinClusterAsync$25(IgniteImpl.java:1362)     at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)     ... 4 more  

       

      Attachments

        1. servers_logs.zip
          62 kB
          Igor

        Activity

          People

            Unassigned Unassigned
            lunigorn Igor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: