Added warning for x86 java

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2024-02-09 23:14:49 +02:00
parent 27d662e642
commit c0fb053ccc
5 changed files with 24 additions and 0 deletions

View File

@ -433,6 +433,10 @@ void JavaSettingsWidget::updateThresholds()
} else if (observedMaxMemory < observedMinMemory) {
iconName = "status-yellow";
m_labelMaxMemIcon->setToolTip(tr("Your maximum memory allocation is smaller than the minimum value"));
} else if (observedMaxMemory > 2048 && m_result.is_64bit) {
iconName = "status-bad";
m_labelMaxMemIcon->setToolTip(
tr("Your maximum memory allocation exceeds selected java posible memory(due to x86 applicatiion limitations)."));
} else {
iconName = "status-good";
m_labelMaxMemIcon->setToolTip("");