Skip to content

[Issue]Uncaught Java.lang.outofmemory error #6833

Open
@DadalorianCreates

Description

@DadalorianCreates

Brief Description *

I installed the BPL Snapshot MegaMek , updated to the correct version of Java,. It ran just fine for two weeks. Now when I go into select units, if i select a unit i get "Uncaught Java.lang.outofmemory error". I discussed it with @Laura, she had me look at -Xmx4096m. It was set correctly. She referred me here.

I just tried to open MegaMek and it now gave me:
Error: Could not create Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.

Note: i joined the MM Discord, but it is not allowing me to Post.

3. Steps to Reproduce

Original error:
1: Opened MegaMek
2. Started a game against Princess
3. Opened Select Units
4. Any mech i choose, does not select, does not display the record sheet and generates the outofmemory.

Attach Files

megamek.log

Severity *

Critical (Game-breaking/Crash): The game crashes or a core feature (like saving, loading, or network connection) is completely unusable.

MegaMek Suite Version *

MegaMek-0.50.04-SNAPSHOT

Operating System *

Windows 11 Home; 24H2;26100.3476

Java Version *

Open JDK Dowloads Java 17

Final Verification

  • I confirm this is a single, unique issue that hasn't been reported before
  • I have included all necessary information and files to help reproduce this issue
  • I have asked on MegaMek Discord about this issue
  • I have confirmed this issue is being opened on the correct repository: MegaMek, MegaMekLab, or MekHQ

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions