Lags when running redstone circuits with redstone clockers. Example: When I start the redstone clocker (clocker made out of the comparator) in my circuit
the mobs frezze. But when I stop the clocker the mobs speed up.
Related issues
duplicates
Attachments
Comments


We'll need more information to diagnose your issue. Is it just the mobs, or does the whole game become slower? Do you have trouble moving, or turning the camera? Does it only happen when facing the circuits? What does the circuit do?

Yes it affects all the mobs. My camera and movements are Ok. It does lag when not facing the circuit. The circuit sends clocking signals to two command blocks the redstone clocking path is controlled by redstone repeaters. But even after removing the command blocks its the same.
Here is an example of the lag: My circuit is ready and I start the clocker first. The first 5 seconds are fine, but then the mobs are like delaying, and when i break the clocker, the lag stops and the mobs teleport to the position they were suposed to be. I used a comparator as the clocker, I tried it with repeaters too, same results. In 1.8 the circuit does not lag.

I've been noticing this as well on a world that hasn't been corrupted yet. It only seems to lag if the clock is connected to a mechanism. It will lag much quicker if that mechanism is also budded.

Actually, updating to JRE 1.8 Update 66 seems to have resolved this for me.

Java notified me that an update is available, but i couldnt download it due to an error. I will try to download it manually, and I will comment it here. Right now I cant.

It says update successful, but its the same version as before. And I tested minecraft still the same lag.

Wait I updated java, I needed to delete the old version first then install the new version. I tested minecraft again but sadly its the same.

You also need to change your minecraft profile to point to a new version of java since by default it uses its own copy. Use at your own risk, as some java updates will blow minecraft up. It can be useful to make sandbox copies of any java versions that work.
Also, I spoke too soon. Update 66 definitely runs better than update 25, however, I am still getting this issue after awhile.

I started a test world for this issue and so far I've only been able to recreate it with pulsers and 2-on/2-off clocks connected to a bud-able mechanism or command-block. At 3+ on/off with just a clock and 1 mechanism everything runs fine for hours. I've not been able to recreate it with just a clock so I believe the issue is with rapid firing the mechanisms at or below 4 ticks.
Edit: As a note I've updated absolutely everything on my PC. I also recently tested all my hardware, and performed an intensive series of scans for malware. Not for any particular reason its just something I do every few months or so. So all is well with my old clunker.
I've also tested with both the default Java settings and Java 1.8.0_66 with the new version of CMSIncrementalMode(UseParNewGC ). 1.8.0_66 with UseParNewGC runs better, but, the issue still occurs after a bit. So its likely not an issue with Java. My most recent tests were with the default settings.

I did everything you said, but sadly the issue is not solved. I will now try to reinstall Minecraft.

I tried to reinstall. It did not worked.

While having this issue: Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ([minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/finding-minecraft-data-folder]
) to this ticket.

I added the file.

At least your graphics card driver is outdated, please update from http://www.nvidia.com/download/driverResults.aspx/96073/en-us and report if the issue is persisting.

I have the same issue. This affects all snapshots after 15w47c. I tested on Windows and MacOS.

I updated the graphics card driver successfully from the link. The issue still occurs.

I've noticed recently that it only affects superflat worlds.

It happens quicker in superflat worlds, yet, I'm also getting it in a normal survival world after a couple hours or so sitting next to a clock. 15w51b

It happens to me also in the default world, but a tiny tiny bit of lag.

I have the same Problem - seems the same Problem as here: MC-94438 Vote for it so Mojangis can fix it!

Done!

While it may be related I don't think its actually a duplicate since this issue doesn't require mobs. The clock lag can be seen in Peaceful mode with a minecart.

Wow you're right I tested on peaceful mode and it really lags a lot, like you said.

I am having the same issue in snapshot 16w04a on my server. When any kind of redstone is activated, I get massive server lag, and when the redstone is deactivated, the lag goes away.


Relinked.