yiguolei commented on code in PR #35255: URL: https://github.com/apache/doris/pull/35255#discussion_r1611062885
########## fe/fe-core/src/main/java/org/apache/doris/common/util/ProfileManager.java: ########## @@ -178,6 +178,11 @@ public void addExecutionProfile(ExecutionProfile executionProfile) { if (queryIdToExecutionProfiles.size() > 2 * Config.max_query_profile_num) { List<ExecutionProfile> finishOrExpireExecutionProfiles = Lists.newArrayList(); for (ExecutionProfile tmpProfile : queryIdToExecutionProfiles.values()) { + // Query still running, skip them. + if (tmpProfile.getQueryFinishTime() == ExecutionProfile.QUERY_FINISH_TIME_INIT) { Review Comment: There maybe many unfinished profile in manager and FE will OOM. -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org