Jialin Qiao created IOTDB-2057: ---------------------------------- Summary: OutOfMemoryError: Direct buffer memory Key: IOTDB-2057 URL: https://issues.apache.org/jira/browse/IOTDB-2057 Project: Apache IoTDB Issue Type: Bug Affects Versions: 0.12.3 Reporter: Jialin Qiao Attachments: image-2021-11-25-14-31-56-959.png, image-2021-11-25-14-33-39-006.png, image-2021-11-25-14-35-13-448.png
In an IoTDB instance, we set: MAX_HEAP_SIZE="50G" HEAP_NEWSIZE="50G" MAX_DIRECT_MEMORY_SIZE="50G" There are read/write and compaction in this IoTDB. However, the direct memory exceeds 50G and OutOfMemory. !image-2021-11-25-14-31-56-959.png! !image-2021-11-25-14-33-39-006.png! The heap memory looks good. !image-2021-11-25-14-35-13-448.png! We need to control the direct memory. E.g., when using FileChannel to read TsFile. -- This message was sent by Atlassian Jira (v8.20.1#820001)