macOS better memory bank value
See original GitHub issueDescribe the bug Too much data is returned for the bank field on darwin.
To Reproduce
await si.memLayout();
Current Output
{
size: 4294967296,
bank: 'BANK 0/DIMM0:',
type: 'DDR3',
clockSpeed: 1067,
formFactor: '',
manufacturer: '0x04CD',
partNum: '0x46412D38353030434C372D34474253510000',
serialNum: '-',
voltageConfigured: -1,
voltageMin: -1,
voltageMax: -1
}
Expected behavior
Bank 0
or 0 should be returned.
Environment (please complete the following information):
- systeminformation package version: latest
- OS: macOS
- Hardware: Macbook Pro 2010
Additional context
Memory:
Memory Slots:
ECC: Disabled
Upgradeable Memory: Yes
BANK 0/DIMM0:
Size: 4 GB
Type: DDR3
Speed: 1067 MHz
Status: OK
Manufacturer: 0x04CD
Part Number: 0x46412D38353030434C372D34474253510000
Serial Number: -
BANK 1/DIMM0:
Size: 4 GB
Type: DDR3
Speed: 1067 MHz
Status: OK
Manufacturer: 0x04CD
Part Number: 0x46412D38353030434C372D34474253510000
Serial Number: -
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Best external hard drives for Mac in 2022 - AppleInsider
Best value external SSD ... Sometimes, you don't need to break the bank to find the perfect product. The SanDisk 1TB Extreme Portable...
Read more >What is the Difference Between Mac Memory and Mac Storage?
Having more memory allows a Mac to multitask more effectively, enhances the resale value of the system, and overall will better futureproof the ......
Read more >The best external hard drives for your Mac - Macworld
Want a hard drive to use for Time Machine or to backup your Mac? Need more storage but don't want to pay a...
Read more >Fixing MacPro7,1 Memory Errors | OpenCore Post-Install
If there are no error-correction bits, this value should be equal to DataWidth. To determine TotalWidth, run the following: path/to/dmidecode -t ...
Read more >How to Choose the Right M2 MacBook Air [Buying Guide]
Processor and memory options. There are two processor options for the M2 MacBook Air. They both feature an 8-core CPU, but for £100/$100...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@OmgImAlexis thank you. Fine, so systeminformation should already show the correct value, right?
@OmgImAlexis … yes would make sense to open another issue if my mapping according to coding of macOS memory manufacturer IDs to manufacturer string is not correct.