This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MrZuribachi's profile picture

Lagg while Program running

Started by MrZuribachi, 17 October 2012 - 02:00 PM
MrZuribachi #1
Posted 17 October 2012 - 04:00 PM
Hi guys, I hope I posted into the right section, because I think that this isn't actually a bug.

Whenever I place a computer or turtle, everything works fine. But when I open their interface it starts lagging extreme. The lagg stops when I close the interface. But when a program is running (for example Excavate or a infinite loop) my whole game starts to lagg like playing Call of Duty - MW3 with 128MB ram (just for demonstration purposes). Do you have the same problem or any solutions? This lagg occurs since CC 1.41 (since I'm using it, at all), but is only caused by computers and / or turtles.
jag #2
Posted 17 October 2012 - 06:29 PM
No idea why the lagg starts, whats your computer "stats" (RAM? 32bit? 64bit? OS? you get the point…).
Another great deal is how much RAM you are giving to minecraft, as default you usually give 1GB (And that's enough for having like 100+ CC computer on at the same time :/ )
MrZuribachi #3
Posted 18 October 2012 - 03:43 PM
I'm running on a 32bit Windows XP-OS and having 2GB ram, nVidia GeForce 9500GT. I set the process-priority of the javaw.exe via Taskmanager to "High", because my minecraft laggs itself on normal priority. No clue how to set a specific amount of RAM to a single process.
jag #4
Posted 18 October 2012 - 03:54 PM
Do you got another program running at the same time as you're playing minecraft?
Else the only thing I can think of left is that either your minecraft, forge or CC is buggy.
Really strange…
MrZuribachi #5
Posted 18 October 2012 - 04:07 PM
Running three different programs on my computer at the same time: Skype, Teamspeak and Minecraft. Don't think it's CC, MC or Forge, because this also occured with version 1.2.5. When I installed 1.3.2, I deleted my whole MC folder and installed everything again.

€dit: After deleting my minecraft-folder and downloading the game again, I installed the following mods to test: Forge 4.2.5.311, Not Enough Items 1.4.0.1, Code Chicken Core 0.6.1 and CC 1.43. Still lagging while running a program. This problem only occurs in singleplayer worlds.
jag #6
Posted 18 October 2012 - 04:52 PM
I can't come with a answer, no idea of why this is occurring.
MrZuribachi #7
Posted 18 October 2012 - 06:02 PM
You told something about giving RAM to processes. How do I check how much RAM my process uses? Sorry for that little noob-question, but I'm not that familiar with RAM and such things.
jag #8
Posted 18 October 2012 - 06:10 PM
When you're in-game, you can press F3 I think to view the CPU usage.
And at the upper right corner it says something about allocated memory and memory usage.
If you want to start minecraft with more RAM you'll have to go with a bit more advanced ruth you'll have to watch youtube or some guide online because it takes some steps to do.
MrZuribachi #9
Posted 18 October 2012 - 06:24 PM
Alright but thanks for trying to help me. I'll go on investigating and maybe I find a solution.
Cloudy #10
Posted 18 October 2012 - 07:59 PM
I'm guessing you don't have a powerful CPU either - remember that your computer is having to interpret lua at the same time as running the game. And stuff like excavate make lots of block updates so increasing the load on your machine.

If minecraft itself lags then I think we have an answer - CC will increase the processing done inside minecraft, so no wonder you're having issues.