Exclude memory check for Apple Silicon
Not yet working as getAvailableMemorySize delivers wrong values.
This commit is contained in:
parent
ebdaf58ec7
commit
96404e9939
|
|
@ -556,6 +556,7 @@ OUTpD_memory(runDesc *run, IFvalue *refValue, IFvalue *valuePtr)
|
|||
{
|
||||
int i, n = run->numData;
|
||||
|
||||
#ifndef __APPLE__
|
||||
if (!cp_getvar("no_mem_check", CP_BOOL, NULL, 0)) {
|
||||
/* Estimate the required memory */
|
||||
size_t memrequ = (size_t)n * vlength2delta(0) * sizeof(double);
|
||||
|
|
@ -569,6 +570,7 @@ OUTpD_memory(runDesc *run, IFvalue *refValue, IFvalue *valuePtr)
|
|||
controlled_exit(1);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue