cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/schedulers/cloudlet/CloudletSchedulerAbstract.java
private void updateVmRamAbsoluteUtilization() {
        final ResourceManageable ram = vm.getResource(Ram.class);
        final double totalUsedRam = cloudletExecList.stream()
            .map(CloudletExecutionInfo::getCloudlet)
            .mapToDouble(this::getCloudletRamAbsoluteUtilization)
            .sum();

        ram.setAllocatedResource(totalUsedRam);
    }
/**
     * Updates the VM usage of RAM, based on the current utilization of all
     * its running Cloudlets, that depends on the {@link Cloudlet#getUtilizationModelRam()}.
     */
Updates the VM usage of RAM, based on the current utilization of all
its running Cloudlets, that depends on the  Cloudlet#getUtilizationModelRam().
Updates the VM usage of RAM based on the current utilization of all its running Cloudlets that depends on the Cloudlet#getUtilizationModelRam () .
private void updateVmRamAbsoluteUtilization() {
        final ResourceManageable ram = vm.getResource(Ram.class);
        final double totalUsedRam = cloudletExecList.stream()
            .map(CloudletExecutionInfo::getCloudlet)
            .mapToDouble(this::getCloudletRamAbsoluteUtilization)
            .sum();
        ram.setAllocatedResource(totalUsedRam);
    }
private void updateVmRamAbsoluteUtilization ( ) { final ResourceManageable ram = vm . getResource ( Ram . class ) ; final double totalUsedRam = cloudletExecList . stream ( ) . map ( CloudletExecutionInfo :: getCloudlet ) . mapToDouble ( this :: getCloudletRamAbsoluteUtilization ) . sum ( ) ; ram . setAllocatedResource ( totalUsedRam ) ; }
Updates the VM usage of RAM, based on the current utilization of all
 its running Cloudlets, that depends on the {@link Cloudlet#getUtilizationModelRam()}.
Updates the VM usage of RAM based on the current utilization of all its running Cloudlets that depends on the { @link Cloudlet#getUtilizationModelRam () } .