Skip to content

Apex heap size too large during purging after 30 days #807

Open
@halderanindya

Description

@halderanindya

Package Edition of Nebula Logger

Unlocked Package

Package Version of Nebula Logger

V4.12

New Bug Summary

We also use [Nebula Logger Plugin - Big Object Archiving] - Version is 0.9.

We need to retain logs for 30 days so our archiving is set to be 30 days.
We get the following error when the framework tries to purge records

caused by: System.LimitException: Apex heap size too large: 13430994

External entry point
Class.LogEntryArchiveBuilder.getLogEntryArchive: line 43, column 1
Class.LogEntryArchivePlugin.execute: line 62, column 1
Class.LogBatchPurger.executeApexPlugin: line 275, column 1
Class.LogBatchPurger.executePlugins: line 255, column 1
Class.LogBatchPurger.execute: line 121, column 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Log RetentionItems related to LogBatchPurger or LogBatchPurgeSchedulerPlugin: Big Object ArchivingItems related to archiving logging data into the LogEntryArchive__b big objectType: BugSomething isn't workingoptimization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions