Skip to content

Commit

Permalink
Fixing memory bug (#608)
Browse files Browse the repository at this point in the history
Co-authored-by: Sundaram Ananthanarayanan <[email protected]>
  • Loading branch information
sundargates and sundargates authored Dec 13, 2023
1 parent 368b2c2 commit 7d65cc9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public class MachineDefinitionUtils {
public static MachineDefinition sys(WorkerPorts workerPorts, double networkBandwidthInMB) {
return new MachineDefinition(
Hardware.getNumberCPUCores(),
Hardware.getSizeOfPhysicalMemory(),
Hardware.getSizeOfPhysicalMemory() / 1024.0 / 1024.0,
networkBandwidthInMB,
Hardware.getSizeOfDisk(),
Hardware.getSizeOfDisk() / 1024.0 / 1024.0,
workerPorts.getNumberOfPorts());
}
}

0 comments on commit 7d65cc9

Please sign in to comment.