Skip to content

Align process memory metric with top

fe029a3
Select commit
Loading
Failed to load commit list.
Merged

Update process memory metrics to report OS resident memory #17482

Align process memory metric with top
fe029a3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 15, 2026 in 2m 22s

Quality Gate failed

Failed conditions
1 Security Hotspot
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 341 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make quotaPagedPoolUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE6&open=AZ2PExkYqLdx4W_fPnE6&pullRequest=17482

Check warning on line 340 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make quotaPeakPagedPoolUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE5&open=AZ2PExkYqLdx4W_fPnE5&pullRequest=17482

Check warning on line 335 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Override the "equals" method in this class.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnFC&open=AZ2PExkYqLdx4W_fPnFC&pullRequest=17482

Check warning on line 320 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method name 'GetProcessMemoryInfo' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnFE&open=AZ2PExkYqLdx4W_fPnFE&pullRequest=17482

Check warning on line 336 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make cb a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE1&open=AZ2PExkYqLdx4W_fPnE1&pullRequest=17482

Check warning on line 344 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make pagefileUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE9&open=AZ2PExkYqLdx4W_fPnE9&pullRequest=17482

Check warning on line 338 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make peakWorkingSetSize a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE3&open=AZ2PExkYqLdx4W_fPnE3&pullRequest=17482

Check warning on line 345 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make peakPagefileUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE-&open=AZ2PExkYqLdx4W_fPnE-&pullRequest=17482

Check warning on line 290 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Local variable name 'hProcess' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnFD&open=AZ2PExkYqLdx4W_fPnFD&pullRequest=17482

Check warning on line 320 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnFB&open=AZ2PExkYqLdx4W_fPnFB&pullRequest=17482

Check warning on line 254 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either re-interrupt this method or rethrow the "InterruptedException" that can be caught here.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE_&open=AZ2PExkYqLdx4W_fPnE_&pullRequest=17482

Check warning on line 343 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make quotaNonPagedPoolUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE8&open=AZ2PExkYqLdx4W_fPnE8&pullRequest=17482

Check warning on line 339 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make workingSetSize a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE4&open=AZ2PExkYqLdx4W_fPnE4&pullRequest=17482

Check warning on line 337 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make pageFaultCount a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE2&open=AZ2PExkYqLdx4W_fPnE2&pullRequest=17482

Check warning on line 342 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/ProcessMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make quotaPeakNonPagedPoolUsage a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ2PExkYqLdx4W_fPnE7&open=AZ2PExkYqLdx4W_fPnE7&pullRequest=17482