Memory leak, hard freezes and FPS lags.
GitJhopa opened this issue ยท 14 comments
What version are you seeing the problem on?
1.19.2
Describe the issue
- Place radio or Boombox
- Specify a link, for example, to favicon.ico on any site, here is an example of the link that the player indicated and the eternal download of the track began and minecraft began to freeze, the fps dropped and the RAM on F3 began to change very quickly
URL freeze game: https://pastebin.com/1a4MLEtM
latest.log
https://pastebin.com/ysE62QGG
https://youtu.be/HuozT-dVmMA Here's an example of what happens to RAM, after a track is loaded, it goes berserk. The video is 60 FPS, so you won't see all the speed, but it feels like it is cleared and used every 0.01ms
Based on the video and some testing I just did it seems the player just doesn't have enough memory allocated for a large modpack. The video is normal java behavior when out of memory to try and keep the game running.
Based on the video and some testing I just did it seems the player just doesn't have enough memory allocated for a large modpack. The video is normal java behavior when out of memory to try and keep the game running.
noo bro see this lol
IMG_3974.mov
https://rux.muzmo.cc/info?id=76191746 use this URL in RADIO and see F3 for USES RAM.
Is it really difficult for you to test and help solve the problem? Your mod is always trying to load a track that doesn't exist and the RAM just goes crazy with any jvm arguments.
There is enough memory allocated, I have few mods. As I point to a link not to .mp3 Your mod tries to load something forever and the RAM goes crazy, the CPU starts to load with it and minecraft starts to lag
The mod only allocates 32kb of ram for audio buffers once which wouldn't cause garbage collection like that. Minecraft wastes ~2mb per frame in the render loop, so as framerate goes up the garbage collector runs more often to try and reclaim that memory. There is only 2gb of ram on the computer, so java can only use ~1.2gb of ram maximum to leave space for other processing. You can try using a different java max memory value (such as -Xmx 1g
) to prevent java from running the garbage collector as often.
https://rux.muzmo.cc/info?id=76191746 use this URL in RADIO and see F3 for USES RAM.
this link points to a web page, not a file
Any link not .mp3 - creates game lags and nonsense is going on with RAM! read the topic!
https://rux.muzmo.cc/info?id=76191746 use this URL in RADIO and see F3 for USES RAM.
this link points to a web page, not a file
yes! it creates lag!