Skip to content

Commit 6c31712

Browse files
committed
Update VirtualMemoryForRequestedRamHigherThanAvailableExample
resource configurations. Signed-off-by: Manoel Campos <[email protected]>
1 parent da1772d commit 6c31712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/cloudsimplus/examples/resourceusage/VirtualMemoryForRequestedRamHigherThanAvailableExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public class VirtualMemoryForRequestedRamHigherThanAvailableExample {
108108
* and the increase in cloudlet processing (exec) time.
109109
*/
110110
private static final int HOSTS_MAX_TRANSFER_RATE = 1600;
111-
private static final long HOST_RAM = 2048; //in Megabytes
111+
private static final long HOST_RAM = 20480; //in Megabytes
112112

113113
private static final int HOSTS = 2;
114114
private static final int HOST_PES = 8;
@@ -122,7 +122,7 @@ public class VirtualMemoryForRequestedRamHigherThanAvailableExample {
122122
/**
123123
* VM RAM capacity (in MB)
124124
*/
125-
public static final int VM_RAM = 1000;
125+
public static final int VM_RAM = 10000;
126126

127127
private final CloudSimPlus simulation;
128128
private final DatacenterBroker broker0;

0 commit comments

Comments
 (0)