Hello, Igniters. Why test on TC can allocate Data Region bigger than the amount of available RAM? How can I disable this feature in a specific test?
"memoryAllocated=1024.0 GiB ... required=1093413MB, available=96675MB" I have a test [1] that try to create Data Region of 1024 Gib size. I want to check OOM exception that should occur while this DataRegion starting. Locally, I have it. But, On TC that DataRegion successfully created [2] I see following log messages: ``` [2019-04-13 21:31:30,426][INFO ][exchange-worker-#91818%test-server%][PageMemoryImpl] Started page memory [memoryAllocated=1024.0 GiB, pages=260204016, tableSize=19.8 GiB, checkpointBuffer=2.0 GiB] .... [2019-04-13 21:31:18,004][WARN ][test-runner-#91737%pagemem.PageMemoryLazyAllocationWithPDSTest%][IgniteKernal%test-server] Nodes started on local machine require more than 80% of physical RAM what can lead to significant slowdown due to swapping (please decrease JVM heap size, data region size or checkpoint buffer size) [required=1093413MB, available=96675MB] ``` [1] https://github.com/apache/ignite/pull/6388/files#diff-754f5ea2f3579b81c50662f3d20c9126R138 [2] https://ci.ignite.apache.org/viewLog.html?buildId=3591587&buildTypeId=IgniteTests24Java8_RunAll#testNameId-7083016202406489951
signature.asc
Description: This is a digitally signed message part