[
https://issues.apache.org/jira/browse/IOTDB-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465523#comment-17465523
]
ZhangZhengming commented on IOTDB-2201:
---------------------------------------
For the above content, I am using jdk1.8, IoTDB practical use 95% memory
when I use jdk1.11.x, this problem doesn't appear anymore,IoTDB can use all
the memory allocated to him
> Memory allocation calculation error when starting IoTDB
> -------------------------------------------------------
>
> Key: IOTDB-2201
> URL: https://issues.apache.org/jira/browse/IOTDB-2201
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.12.4
> Reporter: ZhangZhengming
> Priority: Minor
> Attachments: image-2021-12-24-20-33-40-391.png,
> image-2021-12-24-20-34-01-249.png, image-2021-12-24-20-34-12-159.png
>
>
> I give IoTDB 60G内存,write_read_schema_free_memory is the default value.
> so,
> the memory in read is 60*0.3=18G
> the memory in write is 60*0.4=24G
> the memory in schema is 60*0.1=6G
> but in fact,
> allocateMemoryForRead=18522046464=17.25G
> allocateMemoryForWrite=24696061952=23G
> allocateMemoryForSchema=6174015488=5.75G
> IoTDB 's version is 0.12.4
> !image-2021-12-24-20-33-40-391.png!
>
> !image-2021-12-24-20-34-01-249.png!
> !image-2021-12-24-20-34-12-159.png!
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)