question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

macOS better memory bank value

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sebhildebrandtcommented, Jan 27, 2020

@OmgImAlexis thank you. Fine, so systeminformation should already show the correct value, right?

1reaction
sebhildebrandtcommented, Jan 25, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found