Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed start on MacOS Catalina #38

Open
zhenyuluo opened this issue Jun 13, 2020 · 0 comments
Open

Failed start on MacOS Catalina #38

zhenyuluo opened this issue Jun 13, 2020 · 0 comments

Comments

@zhenyuluo
Copy link

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}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant