This repository has been archived by the owner on Apr 22, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
9dfdb35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️ Yes, your commit makes the ram get measured in kB. But that is not a good thing. The "* 1000" was to convert to megabytes, to be consistent with the commandine option for ram. I should have probably added a comment to the code with my pull request on this issue (which you accepted).
#174
9dfdb35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's because the maxRam was already *1000 from the command line argument parsing.
Before doing the commit I launched a client with "-ui 1024" and i do get "RAM allowed 1.0 GB" on the website side.