[
https://issues.apache.org/jira/browse/IGNITE-26936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035537#comment-18035537
]
Aleksandr Polovtsev commented on IGNITE-26936:
----------------------------------------------
Looking at the logs, I can see that every node's configuration contains two
profiles: "default" and "default_aipersist". Both of them use the Persistent
Page Memory engine with a default region size setting, which means that each
profile requires allocation of a 6.5 GB region. This means that every node
tries to allocate 13 GB's of memory, which makes it 39 GB across three nodes,
which is clearly not enough judging by your setup, hence the OOM. Please try
removing one of the profiles from the nodes' configuration.
> OutOfMemoryError when start 3 nodes on single Windows host
> ----------------------------------------------------------
>
> Key: IGNITE-26936
> URL: https://issues.apache.org/jira/browse/IGNITE-26936
> Project: Ignite
> Issue Type: Bug
> Components: storage engines ai3
> Affects Versions: 3.2
> Environment: Hardware: 10 CPU cores / 32 GiB RAM
> Reporter: Igor
> Priority: Critical
> Labels: ignite-3
> Attachments:
> 20251104_122449_941000_BasicAi3Operations3NodesTest_testSaveAndGetFromCache.zip
>
>
> *Steps to reproduce:*
> Start 3 nodes on single Windows host. With:
>
> {code:java}
> set JVM_MAX_MEM=1536m
> set JVM_MIN_MEM=512m {code}
> Hardware: 10 CPU cores / 32 GiB RAM
> *Expected:*
>
> The cluster started successfully.
> *Actual:*
> Exception on one of the nodes:
>
> {code:java}
> 2025-11-04 12:27:31:260 -0800
> [ERROR][%BasicAi3Operations3NodesTest_cluster_2%join-0][IgniteImpl] Unable to
> start [node=BasicAi3Operations3NodesTest_cluster_2]
> org.apache.ignite.lang.IgniteException: IGN-CMN-65535 Unable to start
> [node=BasicAi3Operations3NodesTest_cluster_2] TraceId:1a1a8ae8
> at
> org.apache.ignite.internal.app.IgniteImpl.handleStartException(IgniteImpl.java:2275)
> at
> org.apache.ignite.internal.app.IgniteImpl.lambda$joinClusterAsync$66(IgniteImpl.java:2231)
> at
> java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
> at
> java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
> at
> java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.CompletionException:
> java.lang.OutOfMemoryError
> at
> java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
> at
> java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
> at
> java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
> ... 4 more
> Caused by: java.lang.OutOfMemoryError
> at java.base/jdk.internal.misc.Unsafe.allocateMemory(Unsafe.java:618)
> at jdk.unsupported/sun.misc.Unsafe.allocateMemory(Unsafe.java:460)
> at
> org.apache.ignite.internal.util.GridUnsafe.allocateMemory(GridUnsafe.java:1094)
> at
> org.apache.ignite.internal.pagememory.mem.unsafe.UnsafeMemoryAllocator.allocateMemory(UnsafeMemoryAllocator.java:20)
> at
> org.apache.ignite.internal.pagememory.mem.unsafe.UnsafeMemoryProvider.nextRegion(UnsafeMemoryProvider.java:106)
> at
> org.apache.ignite.internal.pagememory.persistence.PersistentPageMemory.start(PersistentPageMemory.java:354)
> at
> org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryDataRegion.start(PersistentPageMemoryDataRegion.java:177)
> at
> org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine.addDataRegion(PersistentPageMemoryStorageEngine.java:386)
> at
> org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine.start(PersistentPageMemoryStorageEngine.java:227)
> at
> org.apache.ignite.internal.storage.pagememory.EncryptionSupportingPageMemoryStorageEngine.start(EncryptionSupportingPageMemoryStorageEngine.java:97)
> at java.base/java.lang.Iterable.forEach(Iterable.java:75)
> at
> org.apache.ignite.internal.storage.DataStorageManager.startAsync(DataStorageManager.java:77)
> at
> org.apache.ignite.internal.app.LifecycleManager.startComponentAsync(LifecycleManager.java:83)
> at
> org.apache.ignite.internal.app.LifecycleManager.startComponentsAsync(LifecycleManager.java:101)
> at
> org.apache.ignite.internal.app.IgniteImpl.lambda$joinClusterAsync$58(IgniteImpl.java:2133)
> at
> java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
> ... 4 more {code}
> [^20251104_122449_941000_BasicAi3Operations3NodesTest_testSaveAndGetFromCache.zip]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)