Skip to content

Memory options are inverted on HaikuOS #5689

@4194304

Description

@4194304

Operating System

Other

Description of bug

On HaikuOS, the memory selection options do not work properly. When you attempt to change the maximum memory option, nothing happens so it always stays at zero, however the minimum option does allow you to set it to whatever you want. This is the case on instances and the global default memory option.

While the memory options are inverted, the game sets the minimum memory option as the maximum memory option (and vice versa).

Edit: In multimc.cfg, the contents of the minimum memory box are saved as the maximum (Xmx) but maximum is saved as minimum (Xms).

Every time you exit the instance and go back into the memory options, the minimum memory option resets to 128MiB. When you exit the default memory selection dialog (in the MultiMC global settings), it reverts to 128MiB and restarting MultiMC will reset all instances back to 128MiB, along with multimc.cfg (the global settings).

While the game technically isn't supposed to run on HaikuOS, this is an issue with the launcher itself

Steps to reproduce

Install any JRE version from HaikuDepot, compile and run MultiMC

Suspected cause

Possibly it doesn't work correctly with OpenJDK on HaikuOS?

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions