}
public boolean getUpdateMemory() {
MemoryMXBean memoryBean = ManagementFactory.getMemoryMXBean();
MemoryUsage memory = memoryBean.getHeapMemoryUsage();
memoryUsage = new DefaultBoundedRangeModel(Long.valueOf(memory.getUsed()/1024).intValue(),
0, 0, Long.valueOf(memory.getMax()/1024).intValue());
int percentValue = memoryUsage.getValue()/(memoryUsage.getMaximum()*100);
if (percentValue <= 80) {
state = "ok";
} else if (percentValue > 95) {