Skip to content

cwe_checher docker container use too much memory #473

@cingmanwu

Description

@cingmanwu

Can someone help give me some suggestions?

OS: Ubuntu 20.04.1
CPU: 4 cores
Mem: 16G

I run the cwe_checker:v0.8 docker container to scan a binary file, the I use "docker stats" command to monitor the memory usage, the memory usage of cwe_checker container reaches to 10.19G (see the picture below)

Could someone tell me how can I reduce the memory usage? Such as

  1. It's possible to reduce the threads number in the cwe_checker command?
  2. can I use the --disable-detected-cwes- parameter to exclude those cwe types which need big memory usage?
image

(the binary file contains some sensitive data, so I can't upload here, sorry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions