Limiting the amount of available memory

You can limit the amount of available memory for Content Analyzer containers.

About this task

Follow the steps to limit the amount of available memory:

Procedure

  1. Run the ./generateMemoryValues.sh script, and pass in either the distributed or limited option.
    Note: The generateMemoryValues.sh script depends on the GNU Basic Calculator (bc) package.

    For smaller systems of five worker-nodes, or less, use the limited option.

  2. Copy these values and enter them in the values.yaml file.

    The following lines show an example output of running the script.

    CALLERAPI_LIMITED_MEMORY=480Mi
    SETUP_LIMITED_MEMORY=480Mi
    OCR_EXTRACTION_LIMITED_MEMORY=1440Mi
    CLASSIFY_LIMITED_MEMORY=960Mi
    PROCESSING_EXTRACTION_LIMITED_MEMORY=1440Mi
    INTER_PROCESSING_LIMITED_MEMORY=480Mi
    POST_PROCESS_LIMITED_MEMORY=480Mi
    PDF_PROCESS_LIMITED_MEMORY=960Mi
    UTF8_PROCESS_LIMITED_MEMORY=960Mi
    REANALYZE_LIMITED_MEMORY=720Mi
    UPDATEFILE_LIMITED_MEMORY=480Mi
    FRONTEND_LIMITED_MEMORY=480Mi
    BACKEND_LIMITED_MEMORY=640Mi
    MONGO_LIMITED_MEMORY=1600Mi
    MONGO_ADMIN_LIMITED_MEMORY=1600Mi
    RABBITMQ_LIMITED_MEMORY=960Mi
    MINIO_LIMITED_MEMORY=640Mi
    REDIS_LIMITED_MEMORY=640Mi
    MONGO_WIREDTIGER_LIMIT=.3
    MONGO_ADMIN_WIREDTIGER_LIMIT=.3