---
title: physicalMemory
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/processinfo/physicalmemory
---

# physicalMemory

The amount of physical memory on the computer in bytes.

## Declaration

```swift
var physicalMemory: UInt64 { get }
```

## See Also

### Getting computer information

- [processorCount](foundation/processinfo/processorcount.md)
- [activeProcessorCount](foundation/processinfo/activeprocessorcount.md)
- [isDeviceCertified(for:)](foundation/processinfo/isdevicecertified(for:).md)
- [hasPerformanceProfile(_:)](foundation/processinfo/hasperformanceprofile(_:).md)
- [systemUptime](foundation/processinfo/systemuptime.md)
