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

Ram Disks are limited to ~32GB size when TmpFS is used. #36

Open
tonmischa opened this issue Dec 6, 2023 · 2 comments
Open

Ram Disks are limited to ~32GB size when TmpFS is used. #36

tonmischa opened this issue Dec 6, 2023 · 2 comments

Comments

@tonmischa
Copy link

Trying to create a TmpFS RAM Disk with a size bigger than 32.768 results in a RAM Disk with 34,36 GB usable space.

(Maybe some Int16 limitation?)

@imothee
Copy link
Owner

imothee commented Dec 31, 2023

Hmmm, turns out this is due to the way that mount_tmpfs works which seems to set a default limit to 50% of your total ram. I'll do some research to see if this can be changed, if not will have to set a max on creation I guess.

@tonmischa
Copy link
Author

That explains it... I have 64 GB of RAM in my MacStudio.

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

No branches or pull requests

2 participants