Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Failed start on MacOS Catalina #38

@zhenyuluo

Description

@zhenyuluo

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}'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions