Skip to main content
15-Moonstone
May 4, 2023
Solved

Clear Cache Windchill

  • May 4, 2023
  • 1 reply
  • 6368 views

Good morning ,

would have any way to clear this cache of automated machines? any script that I can put in the GPO or in the machine itself even if I do this every week?

 

 

Best answer by MS_Santos

Do you have a ready-made bat or script to do this because when it reaches a certain size, it starts to slow down, or if you can increase it, that would be cool too.

1 reply

avillanueva
23-Emerald I
23-Emerald I
May 4, 2023

This the workspace location where is downloads are and where it saves files the modified files. when you say automated machines, like a CAD worker? Yes, you can whack that and I typically whack the .wf folder since the CAD worker can rebuilt the server registry.  If this is a user's machine, no, do not delete that folder as it would lose their local work that is not checked in.

MS_Santos15-MoonstoneAuthor
15-Moonstone
May 4, 2023

hello everything is fine

I believe I didn't explain it directly, I need some script or something that every week it clears after a while it gets very slow, today we do it manually

17-Peridot
May 4, 2023

I can put a script together to wipe the cache based on what we have running on the workers but I do want to caution that it's a heavy hand with a lot of cons and not too many pros. Your slowness will likely reappear because this won't address the root of it. 

My cache is regularly in the 8+GB range because of the types of models we have and everything runs fine even though I have 80+ workspaces. 

The anti-virus, RAM. CPU and graphics (both hardware and drivers) would all be things I'd try before going the route of wiping cache and rebuilding on a regular basis.