system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Who or what cleans up after large space battles?

The remains of ships and other debris must be dangerous floating around a planet or in the middle of space. Is there someone responsible for clean up?
gpt
If it's near a large planetary body, gravity cleans it up. Most of the debris should burn up on atmospheric entry, and that's not even taking into account planetary shields or salvage crews.

Even if the battle takes place "in the middle of nowhere", salvage crews (from both sides) are still a thing. Whoever wins the battle gets control of the (former) battlefield, and is free to recuperate the costs of the battle by salvaging the remains of the ships. Also, third-party salvage crews, often consisting of smugglers and pirates, will definitely jump at the chance to get their hands on military-grade hardware.