Hard crash when purging unused

Hello,

I’m trying to purge unused components and I ran into an issue I haven’t seen before. Normally, I purge unused and the model hangs, but it comes back after about 10 minutes of processing. This model hangs for 5 minutes, and SketchUp crashes hard (without even giving an error message).

Any idea what I could do?

Share the .skp file so we can see exactly what you’ve got and help you. Otherwise we’re just guessing which wastes everyone’s time.

The model is here. Let me know if you have issues downloading it.

Where have you been saving the file while you worked on it? Is it saved to to the cloud? I had no problem downloading it. I did my normal cleanup process. First I fixed incorrect tag usage.
Screenshot - 6_10_2024 , 10_01_51 AM
Then I purged unused stuff without any crash. You win the Hoarder’s award for the month oof June. :crazy_face:
Screenshot - 6_10_2024 , 10_02_37 AM
There are also a few ridiculously large textures which I resized to make them more reasonable.

See if this file works for you.
https://www.dropbox.com/scl/fi/ccpovrszaev3w69am5xxe/Crash-purged.skp?rlkey=qfl6jik7tvqn3ey0spukwnklo&st=tvazwbis&dl=0

2 Likes

I worked on the file locally.

Yeah, I know. It is a Revit export thing. Revit export saves EVERY WALL as a separate component. There is another way to do that (when all walls come in as one unified component), but Revit exporter makes a mess of it and produces a model that is a lot harder to modify.

For the future, can you walk me through your cleanup process? What do you mean by incorrect tag usage? What extensions did you use?

The model works great, thank you!

Correct tag usage means that every edge and face is untagged. Only groups and components are given tags. Also, Untagged remains active at all times.

I used Default Tag Geometry from Sketchucation to fix the incorrect tag usage. For purging I used Purge All, again from Sketchucation. I use it instead of the Purge Unused button in Model Info>Statistics because it gives that report. You should be able to do the same thing with Purge Unused. And for material size, I used Material Resizer from the Extension Warehouse.

If you are going to be regularly working with imports from Revit I would suggest immediately cleaning up the model before you move on to adding any details.

3 Likes

I have several models that are all crashing now when I purge or use the plug-in Cleanup3

I downloaded the tag geometry plugin and tells me there was no geometry that needed changing.

I also import Revit files, exported using Simlab SKP exporter, so very large files that I reload constantly.

I think it’s a problem with 2024 and it’s never been an issue with my workflow in other versions.

I’ve had similar in 2024, My models are as tidy as they can be (no strya gemetry/tags etc) but will crash on purging. Opening exactly the same model in 2022 and purging produces the correct results.

My scenario:

  • I have a model of 20 houses complete with planting. car etc etc.
  • I going to make a pano tour of just one of them and I want just the elements of the street that can be seen from the windows of the chosen house.
  • I delete all the houses, ground, cars, landscaping etc not needed (lots of components) and purge.
  • (lots of saving between steps)
  • During purge 24 will crash to desktop after a few seconds whereas 22 will continue (a couple of mins) and complete the purge.

24 seems to be not as robust as 22 (maybe 23 too but I never used it) and instead of moving on when it encounters a hickup it’ll just throw its hands in the air and crash.

Do you get the same crash if you use TIG’s Purge All? That’s my goto for purging. It’s part of my standard routine when I clean up all those morbidly obese model files that people share here when they can’t open them. So far I’ve not had a single Bug Splat due to purging.

Yea, I tried the std purge, Cleanup and TIG’s
All 3 work in 2022 but in 2024 they all crash SU to desktop with SPECIFIC models, ie, higher poly count ones

I’ve got a feeling it may be content generated by Profile builder and/or Skatter which I both use extensively. I can get 2024 to crash by simply deleting a couple of specific Profile generated geometry … again, this doesn’t present a problem to 2022.

I’m not sure of the specific terms but it feels like 2024’s engine is lacking some ‘fallover’ protection that previous versions had.

Screenshot of model:

Close up:

Render:

Basic Stats:
Edges:14.8m
Faces: 8.3m
Comp’s: 33k
CompDef’s: 466
Groups: 16.9k
Materials: 164
Size: 332Mb

Slightly above typical for me, the cars are big poly hogs and there are a fair few in this model.

Maybe you are on to something with one of those extensions. Have you tried switching to the classic graphics engine? What happens if you disable those extensions, quit and reopen SketchUp? Does purging still cause the crash? Maybe disable them one at a time and test. Could be an observer in one of the extensions causing the crash.

I turned off the new engine within 10 mins of installing 24, it’s very ‘pretty’ but it sucks up so much of the video ram that I can’t render with Enscape. If all I did was work and present with SU then it’d be on but all my output is rendered.

I’ve had a similar problem with the default purge. But Tig’s purge extension works freakishly well, and does not cause crashes.

@okozlovskii it looks like you’re using Enscape, you might try making the cars into custom proxy models, which will make the SKP model cleaner and less of a hog.

DaveR, awesome as usual!