Less ram allowed
Lucario4LyfeYT opened this issue · 30 comments
When I boot into minecraft, I allocate it 12gb of ram. I did multiple tests with this mod to see if it would lessen the ram allocated, and it did. minecraft only used a maximum of 2gb of ram with lazydfu on, when I took it off it went back up to a max of 12gb ram. Please fix this
For context, minecraft said 12gb of ram was allocated, but wasn't using all the ram I asked it to use. About 20 tests with and without this mod was taken.
This is my first issue thing on this site, hope I did it right
I have no idea what you're talking about here. I don't work for Mojang, and if I did, there would be no need for this mod as it would have been integrated into vanilla.
I can send a video of what is happening for better clarification because you don't understand what I'm talking about
DFU does create a lot of garbage when it initializes, but your issue doesn't specify what I need to do. Are you asking me to increase the memory usage of LazyDFU? Your issue is bizarre and so far seems to defy any attempt at explanation.
The only case where this might make sense is looking at the allocated memory at a point in time - but this information is really just noise, and for Minecraft you really want the allocated heap size to be equal to the maximum heap size, and you do that by making -Xms
and -Xmx
equal to each other.
What happens, is, I allow minecraft to use 12gb of ram. Without this mod installed, on average, it usually uses 9gb out of the 12gb I allow it to use. When I use this mod, even by itself, minecraft only uses 2gb of ram instead of what it usually uses. That's the problem. That's the issue.
What happens, is, I allow minecraft to use 12gb of ram. Without this mod installed, on average, it usually uses 9gb out of the 12gb I allow it to use. When I use this mod, even by itself, minecraft only uses 2gb of ram instead of what it usually uses. That's the problem. That's the issue.
Minecraft using 9gb RAM is by itself concerning, unless you are running a heavy modpack on a high render distance with a lot of contraptions in the world...
I use max graphics with max render distance, so minecraft using 9gb of ram is ok
I have no idea what you're talking about here. I don't work for Mojang, and if I did, there would be no need for this mod as it would have been integrated into vanilla.
I can send a video of what is happening for better clarification because you don't understand what I'm talking about
What happens, is, I allow minecraft to use 12gb of ram. Without this mod installed, on average, it usually uses 9gb out of the 12gb I allow it to use. When I use this mod, even by itself, minecraft only uses 2gb of ram instead of what it usually uses. That's the problem. That's the issue.
So you're complaining that LazyDFU doesn't use enough memory? That's a first. I don't think I want to fix that - to me, this sounds like a good thing.
I use max graphics with max render distance, so minecraft using 9gb of ram is ok
That still shouldn’t be using that much ram, unless you use heavy mod packs and/or extremely high resolution texture packs (e.g. 128x or 256x)
I use max graphics with max render distance, so minecraft using 9gb of ram is ok
That still shouldn’t be using that much ram, unless you use heavy mod packs and/or extremely high resolution texture packs (e.g. 128x or 256x)
I have 2 screenshots. Both have the f3 menu open. The first one is WITHOUT Lazydfu installed and the second is WITH Lazydfu installed
But we still don’t understand the issue, why is less RAM usage a bad thing?
I use max graphics with max render distance, so minecraft using 9gb of ram is ok
That still shouldn’t be using that much ram, unless you use heavy mod packs and/or extremely high resolution texture packs (e.g. 128x or 256x)
I have 2 screenshots. Both have the f3 menu open. The first one is WITHOUT Lazydfu installed and the second is WITH Lazydfu installed
The minimum allocated memory can be set by Xms, https://stackoverflow.com/questions/1565388/increase-heap-size-in-java
Because I want minecraft to USE the ram I ALLOW it to USE
Minecraft cannot magically just put more things in RAM, that’s not how it works. You allocate the max memory, and then based on the code, it will allocate stuff to RAM. Honestly, allocating anything over 4gb at all is overkill and is just a waste of performance, because Minecraft using it means that there is some serious issue somewhere.
Also stuttering, lot's of it
Ah, now the issue is clear. Are you on an old world that has chunks not yet updated from a previous version? If you do (or are not sure), try running “optimise world” on your world to update the chunks
Also stuttering, lot's of it
Ah, now the issue is clear. Are you on an old world that has chunks not yet updated from a previous version? If you do (or are not sure), try running “optimise world” on your world to update the chunks
No, I made the world without the lazydfu mod installed and then went onto the lazydfu mod. I will try the optimize your world thing and see if it works
Could you demonstrate this stuttering by pressing alt + f3 (to show graphs), and posting a screenshot here (both with and without lazydfu)
The graph isn't showing up for me, are there other key combinations or is [alt] + f3 the only one?
desktop, whenever I press [alt] + f3, an nvidia thing pops up, but no graph
Shift also opens a pie chart btw, but since it doesn’t cover the left FPS graph, it should be fine
So the main issue here is that you are getting FPS stuttering? You should open a new issue for that then (due to this one being full of comments about a non-existent RAM issue that may or may not be unrelated)
So the main issue here is that you are getting FPS stuttering? You should open a new issue for that then (due to this one being full of comments about a non-existent RAM issue that may or may not be unrelated)
I'm sorry if I caused you any problems, but the ram issue is still there, it rarely goes up, out of the 20 times I tested with and without the mod installed, it only went up to 5gb max 3 times, after sitting at 2gb for about 2 - 5 min max. I don't know what is happening, but I'd call that an issue. Also yes I will start a new thread about that.
I'm sorry if I caused you any problems, but the ram issue is still there, it rarely goes up, out of the 20 times I tested with and without the mod installed, it only went up to 5gb max 3 times, after sitting at 2gb for about 2 - 5 min max. I don't know what is happening, but I'd call that an issue. Also yes I will start a new thread about that.
Less RAM usage is a good thing not an issue. Using more RAM in game will not magically get you more performance and can actually be detrimental, so you shouldn’t be trying to allocate more RAM randomly. Maybe you could mod the game to put more things I RAM but that is probably not the best idea. There are even two mods that aim to reduce RAM usage, backing up my point (Hydrogan and FerriteCore).
The real problem is why does your RAM usage go to 5gb or even 9gb in vanilla in the first place, without any heavy mod packs or high res resource packs? That seems like some kind of memory leak or smth that probably needs to be fixed.
I use 12gb of ram in minecraft because I can, and I noticed with your mod installed it wasn't using the ram I wanted it to use, and it stuttered alot, so I found where you guys posted this mod, made a new account, and filed an issue for you guys, only to be shut down almost immediately. Also minecraft uses EVERY bit of ram it has access to, minecraft will use up to what it can use then go back down to 1gb or 3gb of ram, then rise and go down, that's what I noticed