-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
We have observed several instances of windows x86 test machine running out of memory:
One instance:
C:\jenkins\workspace\realm_realm-core_PR-6597\test\test_table.cpp:2498: ERROR in Table_AllocatorCapacityBug: Unhandled exception after line 2498 class std::bad_alloc: bad allocation
Thread[09]: C:\jenkins\workspace\realm_realm-core_PR-6557@2\test\test_array.cpp:1568: ERROR in Array_count: Unhandled exception after line 1601 class std::bad_alloc: bad allocation
It is likely that this 32 bit machine is under a lot of memory pressure when several of our unit tests which request large amounts of memory happen to run concurrently. One way to fix this is to mark these tests as NONCONCURRENT_TEST.