You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Jialin Qiao (JIRA)" <ji...@apache.org> on 2019/06/06 13:33:00 UTC

[jira] [Created] (IOTDB-113) Use intern string to reduce memory usage

Jialin Qiao created IOTDB-113:
---------------------------------

             Summary: Use intern string to reduce memory usage
                 Key: IOTDB-113
                 URL: https://issues.apache.org/jira/browse/IOTDB-113
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Jialin Qiao


Each time series is represented by a device id and a measurement name, which are two strings. The memory usage may be large when there are too many time series.

One possible improvement is using String.intern(), which is designed for reducing memory usage and improve performance.

A blog about String.intern() is here (in Chinese)
https://blog.csdn.net/SEU_Calvin/article/details/52291082



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)