Help me interpret my dmiencode results to figure out what kind of RAM slots I have

202

There are two sets of colors in order to help you match them in pairs, if you wish to. Other than that, they are all the same.

The Type: DDR has a valid value as long as memory is installed to a slot. If there is no memory there, then it gives the stock DDR value.

Share:
202

Related videos on Youtube

alex
Author by

alex

Updated on September 18, 2022

Comments

  • alex
    alex over 1 year

    I have a question about a retain and a NSString, if I have a method who a return a NSString, and I put the return NSString in a nsstring variable, I must do a retain or not?

    NSString *myString = @"";
    myString = [self methodWhoReturnString]; // I must do this?
    myString = [[self methodWhoReturnString]retain]; // Or I must do this?
    
    • Eiko
      Eiko over 13 years
      Additionally to what's in the answers, you'll only need to retain/copy it, if you are actually storing it for later use. If you just use it immediately then even an autoreleased object is fine.
    • boehj
      boehj almost 13 years
      Now you've got DDR2-800 RAM (aka PC6400 DDR2) in there. Why do you say it's probably wrong?
    • brenton
      brenton almost 13 years
      I just found it in my pile of scrapped parts. It's probably too fast or too slow or some other spec is off, I don't really know how to match ram to a mobo, I just see if it fits and then see if it boots. Buying ram is different, I'm hoping to get the right kind.
  • JeremyP
    JeremyP over 13 years
    This is wrong. You own the object if you create it with alloc or new, or if you obtain it with a method containing copy, or you retain it. init does nothing to the retain count. I would have down voted but the stuff about creating a property is good advice.
  • Matt Williamson
    Matt Williamson over 13 years
    @JeremyP you are right. It is alloc, new* and *copy. I mixed them up. Sorry.
  • jlehr
    jlehr over 13 years
    It's also incorrect to say that self.myProperty = something will automatically call -retain. That's only true if the property is declared with retain rather than -copy` or assign as its memory management semantic.
  • JeremyP
    JeremyP over 13 years
    not that tough, nobody has down voted. In fact, if you edit your answer to incorporate my comments and jlehr, I'd be tempted to up vote.
  • brenton
    brenton almost 13 years
    Ok, so you're saying they're probably all DDR2?