Cross-platform memory detection #1

Open
opened 2023-01-29 12:42:43 +01:00 by Johannes · 0 comments
Owner

Currently, the GTK UI can only detect the amount of available memory on Linux systems and assumes 32 GiB otherwise (you're probably not going to assign more than that anyways).
An implementation (using Panama for FFI if necessary) for MacOS or Windows would be welcome, but is not something I can easily test, so I won't implement it myself.
The relevant code is here.

Currently, the GTK UI can only detect the amount of available memory on Linux systems and assumes 32 GiB otherwise (you're probably not going to assign more than that anyways). An implementation (using Panama for FFI if necessary) for MacOS or Windows would be welcome, but is not something I can easily test, so I won't implement it myself. The relevant code is [here](https://git.frohnmeyer-wds.de/JfMods/Inceptum/src/branch/master/launcher-gtk/src/main/java/io/gitlab/jfronny/inceptum/gtk/util/Memory.java).
Comment
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JfMods/Inceptum#1
No description provided.