stork icon indicating copy to clipboard operation
stork copied to clipboard

Failed start on MacOS Catalina

Open zhenyuluo opened this issue 5 years ago • 0 comments

When setting memory by percentage of system, program can't start and report below error:

Unable to detect system memory to set java max memory

It seems that on Catalina below line is incorrect:

local mem_bytes=`sysctl -a 2>/dev/null | grep "hw.memsize" | head -n 1 | awk -F'=' '{print $2}'`

should it be the same as freebsd?

local mem_bytes=`sysctl -a 2>/dev/null | grep "hw.memsize" | head -n 1 | awk -F'[:=]' '{print $2}'`

zhenyuluo avatar Jun 13 '20 18:06 zhenyuluo