# System requirements

In order to run TRUE Connector following minimal system requirements are needed:

* CPU: newer 4 core (8 threads)
* Memory: at least 2GB dedicated to TRUE Connector per instance (1024MB - for ECC services, 512MB for DataApp, 256MB for Usage Control services and 256MB for Usage Control PIP services)

This values can be considered as initial values, and if required, they can be increased or reduced, keeping the functionality of TRUE Connector unchanged.

Default resources, provided to docker containers are following (defined in docker-compose.yml):

```
 ecc-*:
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: 1024M
    logging:
      options:
        max-size: "200M"
...

 uc-dataapp-*:
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: 256M
    logging:
      options:
        max-size: "100M"
...

 uc-dataapp-pip-*:
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: 256M
    logging:
      options:
        max-size: "100M"
...

  be-dataapp-*:
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: 512M
    logging:
      options:
        max-size: "100M"
...

```

In case that you need to assign more memory to some specific service, this can be done by increasing memory amount in deploy section for specific service. In case of *java.lang.OutOfMemoryError: Java heap space* be sure to pass following environment variable to "problematic" service:

* "JDK\_JAVA\_OPTIONS=-Xmx1024m"

Variables defined in deploy resource part and this passed to JVM needs to be correlated, meaning that you first need to delegate memory to docker service and then to assign memory JVM from that amount.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://engineering-ing-inf-rd.gitbook.io/true-connector/readme/system-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
