jixuan1989 commented on a change in pull request #1968:
URL: https://github.com/apache/iotdb/pull/1968#discussion_r519085877
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/cache/TimeSeriesMetadataCache.java
##########
@@ -60,6 +64,7 @@
private final ReadWriteLock lock = new ReentrantReadWriteLock();
+ private final Map<String, WeakReference<String>> devices =
Collections.synchronizedMap(new WeakHashMap<>());
Review comment:
this should be discussed.
We may have too many devices and the memory is limited..
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]