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

Fix FreeBSD memory usage #30

Merged
merged 1 commit into from Jan 9, 2016
Merged

Fix FreeBSD memory usage #30

merged 1 commit into from Jan 9, 2016

Conversation

@tony
Copy link
Contributor

@tony tony commented Jan 9, 2016

Total memory would go out of bounds for machines ~ > 3.5gB of
memory due to the limit of what u_int can hold.

Use getpagesize() and bitshift pagesize so it fits.

See also: #29

Total memory would go out of bounds for machines ~ > 3.5gB of
memory due to the limit of what u_int can hold.

Use ``getpagesize()`` and bitshift pagesize so it fits.

See also: #29
@thewtex
Copy link
Owner

@thewtex thewtex commented Jan 9, 2016

LGTM. Thanks for the contribution!

thewtex added a commit that referenced this pull request Jan 9, 2016
Fix FreeBSD memory usage
@thewtex thewtex merged commit 9ad57c9 into thewtex:master Jan 9, 2016
2 checks passed
2 checks passed
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tony tony deleted the tony:freebsd-memory branch Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.