Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUra running extremely slow #13789

Open
2 tasks
j-snijder opened this issue Nov 11, 2022 · 18 comments
Open
2 tasks

CUra running extremely slow #13789

j-snijder opened this issue Nov 11, 2022 · 18 comments
Labels
Status: Under Investigation The issue has been confirmed or is assumed to be likely to be a real issue. It's pending discussion. Type: Bug The code does not produce the intended behavior.

Comments

@j-snijder
Copy link

Application Version

5.1.0 and 5.2.0 beta and 5.2.1

Platform

Windows 11

Printer

Ender 3pro

Reproduction steps

Just slicing with standard settings.
0.16 or 0.2 layer
temp 215 / 70 for PLA
using skirt or brim doesn't change
retraction on or of doesn't change

Actual results

The program is loading slow
The slicing takes very long
Saving takes very long

Everything is as slow as a snail on a frozen lake, not funny :(

Expected results

The expected result should be normal loading times, normal slicing times and normal saving times

Checklist of files to include

  • Log file
  • Project file

Additional information & file uploads

creating log file ? or saving the project file ? takes so long and then cura stops and freezes

@j-snijder j-snijder added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Nov 11, 2022
@j-snijder
Copy link
Author

I have just deleted the auto orientation and auto start slicing plugin.

Now loading goes faster (as expected) and slicing and saving goes almost to normal.

If I have time I'll remove and test some more plugins that can (or at least are expecting to) slow thing down.

@nallath
Copy link
Member

nallath commented Nov 11, 2022

It makes sense that the auto orientation plugin makes things slower, as it's doing quite a bit of calculation to determine the best orientation.

It shouldn't influence the saving in any way though. The same is true for the autoslicing.

@j-snijder
Copy link
Author

j-snijder commented Nov 11, 2022 via email

@MariMakes
Copy link
Contributor

Hey @j-snijder,

Welcome to the Ultimaker Cura Github 🚀
Sorry, it took us a while to get back to you 😞
Are you still stuck?

I've seen similar reports before, but I'm having some trouble pinpointing the problem.
I'll need a little more information to help you troubleshoot.
Can you share your configuration folder with us?

You can share your configuration folder by:
1. Go to Help at the top bar of Cura
2. Select Show Configuration Folder
3. Select all the folders in there and create a zip OR go up a folder in your folder structure and zip your folder with the correct Cura version
You'll need to open Github in your browser to attach any files to your ticket
You can click the view it on GitHub link at the bottom of your email to open GitHub in the browser.

@MariMakes MariMakes added the Status: Needs Info Needs more information before action can be taken. label Nov 30, 2022
@j-snijder
Copy link
Author

j-snijder commented Nov 30, 2022 via email

@github-actions github-actions bot removed the Status: Needs Info Needs more information before action can be taken. label Nov 30, 2022
@j-snijder
Copy link
Author

I deleted some older cura stuff from my hdd and am in testing mode now, trying to find what cura is looking for, must be something like that imho

FOund it, please rename .zip into .7z as I don't have standard zipper

5.2.zip

@MariMakes
Copy link
Contributor

Hey @j-snijder,

Thanks for sharing.
This is indeed what I was looking for.

Now I can have the same printers, materials and plug-ins as you.
I rarely run my Cura in Dutch so I found some interesting language errors.
image

Unfortunetly my Cura is running as expected, so I can't recreate your issue.
I'll have someone in the team take a look at your logs, maybe they can see something I've overlooked.
Fingers crossed that they can find something.

@MariMakes MariMakes added Status: Under Investigation The issue has been confirmed or is assumed to be likely to be a real issue. It's pending discussion. and removed Status: Triage This ticket requires input from someone of the Cura team labels Nov 30, 2022
@j-snijder
Copy link
Author

I think I found (at least part of the problem by now :) )

What I did is locating all the instances of previous cura installations and leftovers like temp filled with every kind of whatever :)

I found 3 maps that have some (big) effect, knowing the cura map in program files, and the maps in appdata roaming.

I deleted everything in the temp maps I found there and restarted Cura, and BOOM! it ran like before, without any noticably problem.

So I was right, Cura is looking for old stuff in these maps and gets kinda confused, resulting a dicicesless action on the end of cura.

It looks like when updating cura stuff is left behind that causes that slowing down.

I'll test some more in the upcoming hours and days to see what happens.

@j-snijder
Copy link
Author

C:\Users\xxxxxxx\AppData\Local\Ultimaker B.V\Ultimaker-Cura\cache\qmlcache

is refilled after restart and is quite full if you ask me :)

C:\Users\xxxxxxx\AppData\Local\Ultimaker B.V\Cura\cache\qmlcache

Stays empty and aven after a quick start and close of cura

C:\Users\xxxxxxx\AppData\Local\cura\5.2\cache

contains my machine data and looks okay

C:\Users\xxxxxxx\AppData\Local\Temp

Deleted all files that I was allowed (some are protected but not applicable)

C:\Windows\Temp

Deleted all I was allowed to.

This has (at least for now) solved the problem, perhaps you can help other user to solve the problem of the massive slowdown by sharing this to them ?

@j-snijder
Copy link
Author

PS, as it occured right after updating to cura 5.2.1 I suspect cura of not neatly cleaning up the temp or cache maps leaving some stuff behind that disorientates cura.

I'll try to test that as I go along using cura the way I am used to.

@j-snijder
Copy link
Author

As for the translation there some other thing I noticed.

Linewidth is translated in lijnbreedte which, correct me if I am wrong, is actually not right.

I found that line width is ment to be the distance between the printed lines, is it ?
If so then its not lijnbreedte you are talking about but the space between printed lines which in correct Dutch is lijnafstand :)

Where a lower number puts the lines closer together and a bigger number widens up the space between them, or am I not understanding the concept ?

@MariMakes
Copy link
Contributor

Hey @j-snijder,

Thanks for the extra research. 🎉
Are you unstuck, now?
What do you think, can we close theisissue?

It seems to be related to: #13446
I'll make that it's included in the implementation.

@j-snijder
Copy link
Author

Please leave it open for a short while so I can report back through this post as I am testing along.

If after a week there is nothing to report you can close it :)

@j-snijder
Copy link
Author

Hi, UPDATE:

The problem is nót related to the item you mentioned.

As I am in the middle of a big thing with many parts I am currently slicing and notice that with every part done CUra slows down, so I guess the problem is with Cura not cleaning up the cache after a file is done, saved to disk, and cleared the bed with CTR+D

I am going to check if this happens also when closing down Cura after every slice but I expect no difference as Cura should clean its cache as supposed after removing the part.

Regards, Jan.

I'll keep you updated.

@MariMakes
Copy link
Contributor

Hey @j-snijder,

Thanks for all the updates 🤩

I'm seeing a trend in Cura running slow on Windows 11 machines.
I'm going to update myself in the hope to reproduce it and have someone from the team take a look.

I'm collecting all the issues here. #13820 I'll also start posting updates there if I have any.

@j-snijder
Copy link
Author

As I am slicing along I come to the believe that the problem is not only Windows 11, unless I am mistaken, to me it looks clearly a matter of Cura not cleaning up his mess, or whatever causes that.

As I cleanup the caches in appdata myself Cura keeps running well on my Windows 11 machine, and man do I have that one in a stressed state :) I like it to open all programs I use together when working with my 3D printer so thats how I am testing this at the moment op typing.
IF it would be a pure Windows 11 problem I;ll eat my sneakers :)

@j-snijder
Copy link
Author

What did I do now ? After fully freezing I deinstalled all cura, really all and let Revo remove everything.
Then reinstalled v 5.1.0, which I knew was working fine.
I discovered I forgot installing v 5.1.1 so I did, BAMMMM
Now the problems started again and cura freezes at adding custom filament.

Could it be that the newly added printers (Ultimaker) are causing the problems ?

Please investigate, I hope I accidentally discovered the problem.

@j-snijder
Copy link
Author

j-snijder commented Dec 1, 2022

Forget this post, , answered in new location

Removed some old filaments and decoupled some that were linked together.

Except for the color changer I notice no strange slowdowns.

Monday I'll go deeper into this, sorry, weekend with my grandchildrens :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Under Investigation The issue has been confirmed or is assumed to be likely to be a real issue. It's pending discussion. Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

3 participants