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

Add some parameters before startup #365

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Add some parameters before startup #365

merged 2 commits into from
Aug 15, 2023

Conversation

xiaoyekanren
Copy link
Collaborator

@xiaoyekanren xiaoyekanren commented Aug 10, 2023

Add some parameters before startup:

usage: benchmark.sh [-cf configuration_file] [-heapsize HEAP_SIZE] [-maxheapsize MAX_HEAP_SIZE]
 -h           Show help.
 -cf          Specify configuration file.
 -heapsize    Specify HEAP_SIZE.
 -maxheapsize Specify MAX_HEAP_SIZE.
example: ./benchmark.sh -cf conf/config.properties -heapsize 1G -maxheapsize 2G

You can also set memory by changing the configuration file.

# Maximum heap size
#MAX_HEAP_SIZE="2G"
# Minimum heap size
#HEAP_NEWSIZE="2G"

Copy link

@changxue2022 changxue2022 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shell is OK , java is OK

@xiaoyekanren xiaoyekanren changed the title Configuration file and Memory size can be specified before startup Add some parameters before startup Aug 11, 2023
@xiaoyekanren xiaoyekanren merged commit eda137e into thulab:master Aug 15, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants