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

Potential memory leak #10

Closed
greenmanguy opened this issue Oct 24, 2021 · 3 comments
Closed

Potential memory leak #10

greenmanguy opened this issue Oct 24, 2021 · 3 comments
Labels
question Question about the project

Comments

@greenmanguy
Copy link

Basic details

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

Describe the issue

A clear description of what the issue is. Whenever I or my friend launch the pack it proceeds to use large amounts of ram (up to 16 gigs) without stopping. We were both using the latest java version and this issue didn't happen on other technic packs.

Picture of ram usage:
memlek

@greenmanguy greenmanguy added the auto: bug This bug report hasn't been looked at yet label Oct 24, 2021
@xJon xJon added question Question about the project and removed auto: bug This bug report hasn't been looked at yet labels Oct 24, 2021
@xJon
Copy link
Owner

xJon commented Oct 24, 2021

Make sure you do not allocate more RAM than necessary for Hexxit II, 3-4 GB should be fine. Allocating too much RAM can cause many issues, you can read more about it over @morerokk's comment: xJon/The-1.12.2-Pack#671 (comment)

@greenmanguy
Copy link
Author

image_2021-10-24_140638
-Ram usage is up to 6000 MB and keeps increasing past the amount I set it to (4 gigs)

image_2021-10-24_140922
-The ram my game was set to

My friend and I have both tried the various ram amounts. From 3 to 10 gigs and in each situation the usage would still go past the limit we set. In one case my friend set it to 8 gigs and left it open. After about 10 minutes it was up to 16 gigs of usage.

@xJon
Copy link
Owner

xJon commented Oct 24, 2021

Java will try to allocate more RAM when it can, this does not necessarily mean there's a leak, although when an excessive amount is allocated (such as 8 GB) you can get many problems as I've mentioned. If your system would need the extra memory you'd see the Java allocation going back down to 4 GB.
In any case this is not an issue you should be concerned about, but thank you nonetheless for reporting!

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