Bug 441311 - PDOM files are not deleted
Summary: PDOM files are not deleted
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 8.1.2   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 03:26 EDT by Michael Förderer CLA
Modified: 2020-09-04 15:24 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Förderer CLA 2014-08-07 03:26:11 EDT
1. Create a hello world project
2. Create the index, close the project and close the workspace.
3. Open the workspace again and remove the closed project.
4. .metadata/.plugins/org.eclipse.cdt.core/<project name>.<timestamp>.pdom still exists.
5. Add project again, new file with different timestamp is generated.

When a opened project is deleted, also the PDOM file is deleted from the workspace.
Comment 1 Bing-Yi Wong CLA 2014-09-03 03:54:46 EDT
A PDOM file can grow to hundreds of MBs for huge project.  Currently I use a script to delete those unused PDOMs which don't have corresponding projects anymore.  It is not hard to do, but I think it should be auto done.