Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite - Out of memory #180

Open
TauanSantana opened this issue Sep 8, 2024 · 1 comment
Open

SQLite - Out of memory #180

TauanSantana opened this issue Sep 8, 2024 · 1 comment

Comments

@TauanSantana
Copy link

I've been trying to use this action, but without success.

  • First, I download the database (almost 9gb)
  • Then, I use the action to analyze.
    runs-on: ubuntu-latest-m
    steps:
      - uses: actions/checkout@v3
      - name: Run Clair V4 update
        uses: quay/clair-action@main
        with:
          db-file: clair.db
          mode: update
    - name: Run Clair 
      uses: quay/clair-action@main
      with:
        image-ref: ${{ inputs.image }}
        db-file: clair.db 
        format: sarif
        output: clair_results.sarif

Erro:
2024/09/08 22:09:36 error creating sqlite backend: unable to open database file: out of memory (14)

Do I need to adjust anything?
I'm using a runner with 16GB of RAM

@crozzy
Copy link
Collaborator

crozzy commented Dec 2, 2024

I think the out of memory here might be a red-herring, it seems like maybe the db-file isn't around when the Run Clair step is running, are both tasks running in the same job?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants