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

Memory Issue #13

Closed
CrippledPotato opened this issue Oct 25, 2021 · 5 comments
Closed

Memory Issue #13

CrippledPotato opened this issue Oct 25, 2021 · 5 comments
Labels
question Question about the project

Comments

@CrippledPotato
Copy link

Basic details

  • Are you using Java 8, 64-bit?: yes
  • Did you add any additional mods: no
  • Crash/latest log link (if applicable): no crashes

Describe the issue
There seems to be a memory issue where the game uses an excessive amount of memory and even goes well above the amount allotted so I decided to run a test and as everyone knows it is not a true test with out a control so I will start there at vanilla Minecraft.

Latest version of Minecraft with 8GB of allotted memory.
image

  • Sitting in the menu for 10 mins.
    image

  • After creating a new world.
    image

You can see that vanilla Minecraft is no where near hit 8GB of memory so onto the mods. I decided to start with Tekkit Legends and then move to Hexxit II. Once again with 8GB of allotted memory.

image

  • Sitting in Tekkit Legends menu for 10 mins.
    image

  • After creating a new Tekkit Legends world.
    image

  • Sitting in Hexxit II menu for 10 mins.
    image

  • After creating a new Hexxit II world.
    image

As you can see once a world was created Hexxit II went well over the allotted 8GB of memory almost hitting 10GB. But lets just chalk this comparison up to Tekkit Legends being an older mod pack with less mods. So I decided to find a newer mod pack with a lot more mods. Sky Factory 4 once again being allotted 8GB of memory.

image

  • Sitting in Sky Factory 4 menu for 10 mins.
    image

  • After creating a new Sky Factory 4 world.
    image

As you can see Sky factory 4 is a much more comparable mod pack and while it got close to it's 8GB of allotted memory that does not excuse Hexxit II for going almost 2GB over what it was allotted. But I still was not happy I needed more data so I decided to up the allotted memory for Sky Factory 4 and Hexxit II to 16GB and run the test again.

image

  • Sitting in Hexxit II menu for 10 mins.
    image

  • After creating a new Hexxit II world. (yes another new world)
    image

  • Sitting in Sky Factory 4 menu for 10 mins.
    image

  • After creating a new Sky Factory 4 world. (yes another new world)
    image

So my final results were in and while with the increase of allotted memory came with the obvious increase in memory usage you can clearly tell that even compared to similar mod packs Hexxit II uses an unacceptable amount of memory and even surpasses with is allotted. So I believe that I can confidently say that Hexxit II does indeed have a memory issue.

Side note while actually playing Hexxit II for around 30mins I did get it to got over even 16GB of memory though that was not part of the strict testing and has been left out.

@CrippledPotato CrippledPotato added the auto: bug This bug report hasn't been looked at yet label Oct 25, 2021
@xJon
Copy link
Owner

xJon commented Oct 25, 2021

Hi, thank you for posting this! Did you read my comment over #10 (comment)?

@CrippledPotato
Copy link
Author

I am aware but clearly there is an issue because it is only Hexxit II that does this.

@xJon
Copy link
Owner

xJon commented Oct 25, 2021

8 GB of allocated RAM would be considered giving Minecraft more RAM than it needs in Hexxit II's case. The recommended allocation is 3-4 GB.

@CrippledPotato
Copy link
Author

Ah of course how could I be so naive as to use to much ram.

So seeing my fault I have done the test again.
image

  • In menu Hexxit II
    image

  • New world Hexxit II
    image

  • In menu Hexxit (the good one)
    image

  • New world Hexxit (the good one)
    image

I am baffled, I never would have thought that using the correct amount of ram would cause the same issue. But since it does might as well TRY and break the GOOD HEXXIT.

image

  • In menu Hexxit (the good one)
    image

  • New world Hexxit (the good one)
    image

Well now I could have never expected that. Not only did it not exceed the memory limit but it did not even get close and it even did not take more memory then what it needed. I wonder if this is how mod packs are supposed to work?

I have to applaud you good sir you have managed to make Hexxit worse.

@xJon
Copy link
Owner

xJon commented Oct 26, 2021

Hi, I appreciate the care for this project and your report, but unfortunately this is just normal behavior for Java Minecraft 1.12.2.
Older versions of modded Minecraft and newer versions of vanilla Minecraft are not the best comparisons, nor is Sky Factory 4 due to its already high RAM allocation requirement.
You will find similar behavior with The Classic Pack, which is another smaller 1.12.2 modpack, I will attach examples:

  • Screenshot_2
    (Main menu)
    Screenshot_5
    (New World)
    Screenshot_1

  • Screenshot_3
    (Main menu)
    Screenshot_4
    (New World)
    Screenshot_6

  • I could go on with a 16 GB example, but unfortunately my PC only has 16 GB of RAM installed.

There is nothing out of the ordinary with Hexxit II's memory usage, beyond the existing problems of Java. That being said, no one is forcing you to play Hexxit II and you are more than welcome to continue playing the original Hexxit for Minecraft 1.5.2, which did have much lower RAM requirements.

@xJon xJon closed this as completed Oct 26, 2021
@xJon xJon added question Question about the project and removed auto: bug This bug report hasn't been looked at yet labels Oct 26, 2021
@xJon xJon mentioned this issue Aug 31, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about the project
Projects
None yet
Development

No branches or pull requests

2 participants