Skip to content

Viewing large logs runs out of memory #704

@timja

Description

@timja

Reproduction steps

stage('big') {
    node {
        for(int i=0; i<10; i++) {
            sh "head -c 1073741824 /dev/urandom | base64 --break=1000"
        }
    }
}

Expected Results

No out of memory when viewing logs

Actual Results

out of memory error

Anything else?

see jenkinsci/jenkins#10515

Viewing logs as plain text was resolved as part of #706

To resolve the html view we likely need to do one of:

  • Write plain text logs and then transform on client side, adding custom support for:
    • Timestamps
    • ANSI color
    • Input step
    • Build step
  • writeRawLogTo and then process console notes on client side

Are you interested in contributing a fix?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions