mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-184 added BuildVersionTest and check Assets to use org.junit
This commit is contained in:
@@ -247,7 +247,7 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
if (offHeapMapSize > GIGABYTES.toBytes(4L)) {
|
||||
System.out.printf(
|
||||
"WARNING: On Windows, you probably cannot create a ChronicleMap\n" +
|
||||
"of more than 4 GB. The configured map requires %.2f GB of off-heap memory.\n",
|
||||
"of more than 4 GB. The configured map requires %.2f GB of off-heap memory.\n",
|
||||
offHeapMapSizeInGb);
|
||||
}
|
||||
try {
|
||||
@@ -256,9 +256,9 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
double freePhysicalMemoryInGb = freePhysicalMemory * 1.0 / oneGb;
|
||||
System.out.printf(
|
||||
"WARNING: On Windows, you probably cannot create a ChronicleMap\n" +
|
||||
"of more than 90%% of available free memory in the system.\n" +
|
||||
"The configured map requires %.2f GB of off-heap memory.\n" +
|
||||
"There is only %.2f GB of free physical memory in the system.\n",
|
||||
"of more than 90%% of available free memory in the system.\n" +
|
||||
"The configured map requires %.2f GB of off-heap memory.\n" +
|
||||
"There is only %.2f GB of free physical memory in the system.\n",
|
||||
offHeapMapSizeInGb, freePhysicalMemoryInGb);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user