Skip to main content
16-Pearl
February 6, 2024
Question

Maximum Limit to file deletion in Common Space

  • February 6, 2024
  • 1 reply
  • 1794 views

All,

 

I imported a big assembly into Creo and uploaded to Windchill. It's a lot of files. I no longer need this assembly. I can't delete by selecting all files because it appears there are several pages of files and I don't think it is selecting those files on following pages and is looking for the files it is referencing that it can't see. I tried to delete the folder itself. It appeared to be deleting the folder and the files within. However, it said I have reached the maximum limit for deleting files. I am not sure if I am being clear. Anyone know how to delete a folder that contains a large amount of files?

 

WayneF

1 reply

22-Sapphire II
February 7, 2024

HI @wfalco 

I've never see that error before. So what Windchill version do you use?

I would recommend you to move all files to folder and delete it.

There can be just few limits. Method Server Garbage memory and SQL query limitation.

You can all increase. 

 

I needed to delete over 300 000 wtparts at one shot, and I needed 8GB memory for one MethodServer to do so. 

 

PetrH

 

23-Emerald I
February 7, 2024

I would agree that there is no delete limit but could be too much to do in one shot, query limit or memory. I would suggest doing it in chunks to whittle it down. If you run into issue with dependent objects, you can use the collector to grab those.

wfalco16-PearlAuthor
16-Pearl
February 7, 2024

The files are in one folder and they are not referenced by anything else in Windchill. Since I truly can not select all because they are on 4 pages. I can't select all of page 1 because I would run into dependents. I did think about using a collector. But I am not sure how to do that. I have 5 main assemblies actually. I can't grab sub-assembies and it's dependents because they belong to the main assembly. I'm not sure how to use a collector either. I was thinking of opening the assemblies and deleting everything to remove all dependancies.