How do I clear up storage space in my Salesforce Org?<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } Occasionally, administrators will be working in a Salesforce test environment that is nearing its storage limit. If Salesforce complains that you are over your storage allocation, it’s time to free up space. One option: remove records from the ConfigurationBOM table to help free up space. For managed packages v1.0 or greater, remove Configuration Line Item and Configuration Field Data Sets instead. Warning: these steps delete data. Use in non-production environments only! Setup Cog in SFDC > Developer Console -> Debug [Open Execute Anonymous Window] Paste in and execute the following: delete [SELECT id FROM LGK__ConfigurationBOM__c]; For Logik.io managed packages v1.0 or greater, run this delete instruction against the following objects: LGK__ConfigurationLineItem__c LGK__ConfigurationFieldData__c Note: Salesforce only allows for running DML statements such as these in batches of 10,000 or fewer records, at a time. If the record has more than 10,000 records, modify the query in step 2 with the following, and re-run it as many times as necessary: delete [SELECT id FROM LGK__ConfigurationBOM__c LIMIT 10000]; Use the following script to clear the Trash: List delCLI = new List(new Map([SELECT Id FROM LGK__ConfigurationLineItem__c ORDER BY CreatedDate ASC LIMIT 10000]).keySet()); Database.delete(delCLI); Database.emptyRecycleBin(delCLI); List delCFD = new List(new Map([SELECT Id FROM LGK__ConfigurationFieldData__c ORDER BY CreatedDate ASC LIMIT 10000]).keySet()); Database.delete(delCFD); Database.emptyRecycleBin(delCFD); Alternately, in Salesforce Admin → 9 dot menu → search Recycle Bin → navigate to Recycle Bin → Empty Org Recycle Bin