Project Red - Exploration

Project Red - Exploration

27M Downloads

[1.12.2] Gate models use too much memory

SoniEx2 opened this issue ยท 1 comments

commented

Describe the bug
A clear and concise description of what the bug is.

Gate models use too much memory.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Grab a heap dump, notice 300MB being used for gate models.

Expected behavior
A clear and concise description of what you expected to happen.

Gate models shouldn't be quite that hungry. For what it's worth, this seems to be scala's fault. Surely there's a way to optimize it?

Crash Log
Required for crash. DO NOT paste the entire crash log here. Use pastebin or similar.

Versions
Include versions of the dependencies. And since you're looking at it, make sure ProjectRed is up to date. Don't submit bugs for old versions, as they could have been fixed.

  • CCL Version:
  • FMP Version:
  • MrTJPCore Version:
  • ProjectRed Version:

Screenshots/Videos
If applicable, add screenshots or video links to help explain your problem.

commented

Switch to 2d models if it is causing performance issues. Its a config option.