We have given 4GB of memory to heap by mentioning it in bootstrap.conf and all repositories (Content, Provenance, Content & FlowFileRepository) are configured to Disk. DistributedCacheServer is also configured to use disk. But when NiFi instance runs for a while It starts using 10 GB of memory.
Not able to find where the extra 6 GB of RAM is consumed. Please help.
One way additional memory that could be associated with nifi user would be if in the flow there was a processor that was starting an external process. That process would be owned by the nifi user and would appear to be associated to the NiFi process.