Skip to content

Reduce native debug files upload and storage size #1184

@codelimit

Description

@codelimit

Problem Statement

Gradle script uploads compiled native shared object files which contains required debug info. In our case the size of this object is ~2Gb. If each CI build upload debug info, server storage may have issues soon.

Solution Brainstorm

I am not sure if this possible, but how about objcopy --only-keep-debug to standalone file? In our case it helps to cut 200Mb.
The ideal option is to convert debug info into breakpad format. In our case 2GB turns into 200MB and I don't see any symbolication problems.

Maybe such options already exist?

Best regards!

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions