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

Conversation

Projects
None yet
2 participants
@tony
Contributor

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

Fix FreeBSD memory usage
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

This comment has been minimized.

Show comment
Hide comment
@thewtex

thewtex Jan 9, 2016

Owner

LGTM. Thanks for the contribution!

Owner

thewtex commented Jan 9, 2016

LGTM. Thanks for the contribution!

thewtex added a commit that referenced this pull request Jan 9, 2016

Merge pull request #30 from tony/freebsd-memory
Fix FreeBSD memory usage

@thewtex thewtex merged commit 9ad57c9 into thewtex:master Jan 9, 2016

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