[ 
https://issues.apache.org/jira/browse/IGNITE-23698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055934#comment-18055934
 ] 

Aleksandr Polovtsev commented on IGNITE-23698:
----------------------------------------------

[~lunigorn] Could you please check if this issue is still reproducible? 

> Windows: OutOfMemoryError if start 3 nodes on 1 machine
> -------------------------------------------------------
>
>                 Key: IGNITE-23698
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23698
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence, platforms
>    Affects Versions: 3.0.0-beta1
>         Environment: 3 nodes on single machine (cores=9, memory=32766)
>            Reporter: Igor
>            Priority: Major
>              Labels: ignite-3
>         Attachments: servers_logs.zip
>
>
> *Steps to reproduce:*
>  # Start 3 nodes on single machine (cores=9, memory=32766).
>  # Execute init cluster.
> *Expected results:*
> Cluster initialized.
> *Actual:*
> [^servers_logs.zip]
> One or two nodes from the cluster throws OutOfMemoryError:
> {panel:title=Server error:}
> {code:java}
> 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  {code}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to