[MC-7895] Large amount of fences impact performance Created: 19/Jan/13  Updated: 29/Oct/24

Status: Reopened
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.7, Snapshot 13w03a, Minecraft 1.6.2, Minecraft 14w02c, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w40a, Minecraft 1.11, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w45b, Minecraft 18w07a, Minecraft 18w11a, Minecraft 18w20c, Minecraft 18w22c, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.3, 1.15.2, 20w12a, 1.16, 1.16.2, 1.16.5, 21w05a, 1.17, 1.18, 1.19, 1.20.6, 1.21.3
Fix Version/s: None

Type: Bug
Reporter: [Mod] Asteraoth Assignee: Unassigned
Resolution: Unresolved Votes: 43
Labels: None

Attachments: PNG File 2024-10-28_19.47.18.png     PNG File 2024-10-28_19.48.49.png     Zip Archive MC_7895.zip     PNG File image11.png     PNG File image12.png     PNG File image3.png    
Issue Links:
Duplicate
is duplicated by MC-26765 Fences cause lag spikes when interact... Resolved
Relates
relates to MC-5169 Huge FPS drop in areas with a lot of ... Reopened
relates to MC-1138 Item frames cause lag / huge FPS drop... Resolved
relates to MC-14983 Massive Lag when looking into directi... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Performance
Mojang Priority: Normal
Area: Platform

 Description   

Looking at a large amount of fences will cause your FPS to drop and GPU usage to stay high.

Steps to Reproduce:

  1. Open the provided world MC_7895.zip
  2. Look in a direction where the fences are not in view
  3. Look at the fences are in view

Observed Behavior:
When you looking into the direction of the fences, your FPS will be lowered and your GPU usage will rise.

Expected Behavior:
Your FPS does not drop and GPU usage stays low.



 Comments   
Comment by David J. Romrell [ 29/Oct/24 ]

I appreciate you giving a better test environment. Note I am using java 22.0.1 instead of 21.0.3: 

  1. in plain minecraft I get slightly less fps drop(40 to 60 which is around a 50% and in yours you shared around 85%)
  2. with a datapack adding custom noise function without all my customizations I get ~25(20 to 30) fps drop
  3. with a datapack adding custom noise function and with all my customizations I get ~0(0 to 5) fps drop

 

Let me know if any more info would be helpful.

Comment by [Mod] Asteraoth [ 29/Oct/24 ]

Fireswamped How are you trying to reproduce this? Did you open MC-26765's world? Can you try the new provided world?

Comment by David J. Romrell [ 28/Oct/24 ]

can only consistently cause the GPU increase.  Am I missing something?

Comment by [Mod] ampolive [ 08/Oct/21 ]

Still cannot reproduce in 21w40a.

Comment by [Mod] ampolive [ 08/Jul/21 ]

Besides causing absurd client-side lag, the memory itself is unaffected. So, I cannot reproduce in 1.17.1.

Comment by Iosiv Visokogorskiy [ 02/Jul/20 ]

this still happens in 20w27a?

Comment by [Helper] Misode [ 15/Feb/20 ]

I cannot reproduce this in 20w07a. I had over 20K fences, but memory was still below 1 GB, which is not significantly higher than any normal gameplay these days.

Comment by CDES5 (Inactive) [ 08/Jan/17 ]

Likely affects version 1.11.2 as MC-1138

Comment by [Bot] Arisa [ 24/Jun/16 ]

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Comment by user-f2760 (Inactive) [ 02/May/16 ]

Reopened and gave report to Asteraoth.

Comment by [Mod] Asteraoth [ 02/May/16 ]

Confirm for 1.9.3 pre-2

Comment by user-f2760 (Inactive) [ 17/Mar/16 ]

No response for over a year.

Comment by Galaxy_2Alex [ 30/Oct/14 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been deliviered.

Comment by Jeuv [ 15/Jan/14 ]

Conformed in 14w02c. A chunck filled with Fences quarteres my fps.

Comment by Kumasasa [ 27/Jul/13 ]

Confirmed with 1.6.2 and the test world of MC-26765

Comment by Moff Kalast [ 21/Jul/13 ]

As far as i'm concerned fences worked fine in 1.5.2., but in 1.6.2. they make lag spikes again with a greater magnitude .

Comment by Tails [ 22/Feb/13 ]

You're right, issues like MC-5169 and MC-5417 are most likely with tile entities, while fences don't have those, reopened.

Comment by Tenebrae [ 22/Feb/13 ]

@[Mod] Tails: You sure? That issue is related to signs and the text on them, this issue is related to fences.

Comment by Tails [ 19/Jan/13 ]

Duplicate of MC-5169.

Comment by Aaron Walwyn [ 19/Jan/13 ]

I can assure you that my computer is powerful enough. Both YouTubers Vechs and GenerikB have done videos in the past of how fences cause lag. The images attached were rendered out of the game using chunky, they were just used as example structures.

Comment by MiiNiPaa [ 19/Jan/13 ]

Cannot reproduce. Spawned a structure made of 15000 fences, run on my PC and laptop without problem. Do you use any mods (looks like you use something for realistic shadows)? If so, problem is in mod, not in vanilla Minecraft.

Comment by Anon Ymus [ 19/Jan/13 ]

Solution: get a more powerful computer! This isn't a bug with Minecraft, rather a technical limitation, so please resolve as invalid.

Generated at Sun Jan 12 12:16:00 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.