0

Was running some tests in my dev org and got this:

System.DmlException: Insert failed. First exception on row 0; first error: STORAGE_LIMIT_EXCEEDED, storage limit exceeded: []

I know the issue is due to logs getting cluttered with info on batch jobs. I went to Setup > Data Managementand saw that 97% of my allotted 5MB was taken up by Batch Process Log entries.

I've been trying to look for a way to remove them. I tried doing a delete on all entries of the ApexLog but the problem persists.

How do I fix this?

4
  • Have you checked this link?
    – Mahmood
    Commented Feb 16, 2017 at 14:56
  • I did not think that logs counted against storage space. Is Batch Process Logs a custom object perhaps
    – Eric
    Commented Feb 16, 2017 at 14:58
  • @Eric Doh! It is a custom object. That's the problem when you're just a spec in a macrocosm. Make it an answer and I'll accept it.
    – coldspeed
    Commented Feb 16, 2017 at 15:04
  • @Shiva - Added as answer so we can close it out. Been there many times
    – Eric
    Commented Feb 16, 2017 at 15:05

1 Answer 1

2

I did not think that logs counted against storage space. Is Batch Process Logs a custom object perhaps –

Try deleting those records

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .