Operating system error: Cannot allocate memory Allocation would exceed memory limit

Ready
Starting env OMP_NUM_THREADS=1 /home/koshal/anaconda3/envs/mfix-21.1.4/bin/mfixsolver -s -f /home/koshal/Documents/cyclone/cyclone.mfx
Invalid MIT-MAGIC-COOKIE-1 key
MFiX running: elapsed time 0:00:00
Number of SMP threads: 1
MFiX (21.1.4 ) simulation on host: KHOSHAL-PC
Run name: CYCLONE Time: 17: 2 Date: 5-28-2021
Project version: 10
Memory required: 9.00 Mb

INFO open_files.f:374
The following mesh file was not found: CYCLONE.msh
Mesh generation will be performed and a mesh file will be saved.

The following mesh file was successfully opened: CYCLONE.msh
From Get_Stl_Data: Analyzing BCs…
BC_ID BC_TYPE
4 CG_NSW
Number of CG BCs = 1

INFO cartesian_grid/get_stl_data.f:695
Reading geometry from geometry_0004.stl …

STL file opened. Starting reading data…
Done reading file.
STL file(s) successfully read.
Total number of facets read = 416
Number of valid facets = 414
Number of ignored facets = 2
Geometry range from stl file:
x-range = -16.1372 to -15.2438
y-range = 38.9455 to 40.0786
z-range = -2346.5161 to -2342.3640
The file FACETS_IGNORED.stl was successfully written.
and is provided for convenience (it is not used).
From Detect_stl_along_mfix_box:
Grouping facets by BC patch…

INFO cartesian_grid/get_stl_data.f:1656
Number of active facets (BCs not flush with MFiX box) = 414

The file FACETS_READ.stl was successfully written.
and is provided for convenience (it is not used).

INFO check_data/check_solids_dem.f:712
At time = 0.000000E+00 sec., setting DEM solids time step, DTSOLID (sec) = 0.101800E-06

INFO check_data/check_geometry.f:192
DES grid size:
DESGRIDSEARCH_IMAX = 1193
DESGRIDSEARCH_JMAX = 1406
DESGRIDSEARCH_KMAX = 5413

WARNING check_data/check_boundary_conditions.f:151
Warning 1201: Mass inflow BC# 1
Cannot apply both mi and po to des. Turning off bc_po_apply_to_des.

WARNING check_data/check_boundary_conditions.f:180
Warning 1202: Pressure or Mass outflow BC# 2
Cannot apply both mi and po to des. Turning off bc_mi_apply_to_des.

WARNING check_data/check_boundary_conditions.f:180
Warning 1202: Pressure or Mass outflow BC# 3
Cannot apply both mi and po to des. Turning off bc_mi_apply_to_des.

MFIX WITH CARTESIAN GRID IMPLEMENTATION.
RE-INDEXING IS TURNED OFF.
INITIALIZING VELOCITY NODES…
ESTIMATING POTENTIAL SCALAR CUT CELLS…
INTERSECTING GEOMETRY WITH SCALAR CELLS…
INTERSECTING GEOMETRY WITH U-MOMENTUM CELLS…
INTERSECTING GEOMETRY WITH V-MOMENTUM CELLS…
Operating system error: Cannot allocate memory
Allocation would exceed memory limit

Error termination. Backtrace:
#0 0x7efc3608dd01 in ???
#1 0x7efc3608e849 in ???
#2 0x7efc3608eaa4 in ???
#3 0x7efc369a5a21 in __desgrid_MOD_desgrid_init
at /home/koshal/anaconda3/envs/mfix-21.1.4/share/mfix/src/model/des/desgrid_mod.f:802
#4 0x7efc367d7de4 in __main_MOD_check_data
at /home/koshal/Documents/cyclone/build/pymfix/main.f90:720
#5 0x7efc367d83d6 in _main_MOD_get_data
at /home/koshal/Documents/cyclone/build/pymfix/main.f90:585
#6 0x7efc36ad17d1 in run_mfix

at /home/koshal/anaconda3/envs/mfix-21.1.4/share/mfix/src/model/mfix.f:127
#7 0x7efc367d960e in __main_MOD_run_mfix0
at /home/koshal/Documents/cyclone/build/pymfix/main.f90:82
#8 0x7efc367bdc10 in f2py_rout_mfixsolver_main_run_mfix0
at /home/koshal/Documents/cyclone/build/f2pywrappers/mfixsolvermodule.c:1279
#9 0x7efc367dc396 in fortran_call
at /home/koshal/anaconda3/envs/mfix-21.1.4/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c:468
INTERSECTING GEOMETRY WITH W-MOMENTUM CELLS…
SETTING CUT CELL TREATMENT FLAGS…
COMPUTING INTERPOLATION FACTORS IN U-MOMENTUM CELLS…
COMPUTING INTERPOLATION FACTORS IN V-MOMENTUM CELLS…
COMPUTING INTERPOLATION FACTORS IN W-MOMENTUM CELLS…
COMPUTING 1/DX, 1/DY, 1/DZ FOR U-MOMENTUM CELLS…
COMPUTING 1/DX, 1/DY, 1/DZ FOR V-MOMENTUM CELLS…
COMPUTING 1/DX, 1/DY, 1/DZ FOR W-MOMENTUM CELLS…
FINDING MASTER CELLS FOR U-MOMENTUM CELLS…
FINDING MASTER CELLS FOR V-MOMENTUM CELLS…
FINDING MASTER CELLS FOR W-MOMENTUM CELLS…
MESH STATISTICS:
NUMBER OF CELLS = 1000
NUMBER OF STANDARD CELLS = 998 ( 99.80 % of Total)
NUMBER OF CUT CELLS = 0 ( 0.00 % of Total)
NUMBER OF FLUID CELLS = 998 ( 99.80 % of Total)
NUMBER OF BLOCKED CELLS = 2 ( 0.20 % of Total)
CARTESIAN GRID PRE-PROCESSING COMPLETED IN 0.16 SECONDS.
#10 0x559277c38c9a in _PyObject_FastCallKeywords
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:199
#11 0x559277c9e27d in call_function
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:4619
#12 0x559277c9e27d in _PyEval_EvalFrameDefault
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:3093
#13 0x559277c30e2a in function_code_fastcall
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:283
#14 0x559277c30e2a in _PyFunction_FastCallKeywords
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:408
#15 0x559277c996ef in call_function
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:4616
#16 0x559277c996ef in _PyEval_EvalFrameDefault
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:3110
#17 0x559277c30e2a in function_code_fastcall
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:283
#18 0x559277c30e2a in _PyFunction_FastCallKeywords
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:408
#19 0x559277c996ef in call_function
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:4616
#20 0x559277c996ef in _PyEval_EvalFrameDefault
at /tmp/build/80754af9/python_1614362349910/work/Python/ceval.c:3110
#21 0x559277be1d2a in function_code_fastcall
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:283
#22 0x559277be1d2a in _PyFunction_FastCallDict
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:322
#23 0x559277c007a2 in _PyObject_Call_Prepend
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:906
#24 0x559277bf33ad in PyObject_Call
at /tmp/build/80754af9/python_1614362349910/work/Objects/call.c:245
#25 0x559277cf1c16 in t_bootstrap
at /tmp/build/80754af9/python_1614362349910/work/Modules/_threadmodule.c:994
#26 0x559277cac667 in pythread_wrapper
at /tmp/build/80754af9/python_1614362349910/work/Python/thread_pthread.h:174
#27 0x7efc83f8a608 in start_thread
at /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477
#28 0x7efc83eb1292 in ???
#29 0xffffffffffffffff in ???
Previous MFiX run is resumable. Reset job to edit model
MFiX process has stopped

As the message says, you ran out of memory.

You need to either run on a machine with more available memory, or make your grid coarser to reduce the memory requirement.

– Charles

This is alarming:

INFO check_data/check_geometry.f:192
DES grid size:
DESGRIDSEARCH_IMAX = 1193
DESGRIDSEARCH_JMAX = 1406
DESGRIDSEARCH_KMAX = 5413

This is about 9 Billions cells!! Please double check the particle size. The des grid is by default 3 times the particle diameter.