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.
Related videos on Youtube
Author by
alex
Updated on September 18, 2022Comments
-
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 over 13 yearsAdditionally 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 almost 13 yearsNow you've got DDR2-800 RAM (aka PC6400 DDR2) in there. Why do you say it's probably wrong?
-
brenton almost 13 yearsI 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 over 13 yearsThis is wrong. You own the object if you create it with
alloc
ornew
, or if you obtain it with a method containingcopy
, or youretain
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 over 13 years@JeremyP you are right. It is alloc, new* and *copy. I mixed them up. Sorry.
-
jlehr over 13 yearsIt's also incorrect to say that
self.myProperty = something
will automatically call-retain
. That's only true if the property is declared withretain
rather than -copy` orassign
as its memory management semantic. -
JeremyP over 13 yearsnot 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 almost 13 yearsOk, so you're saying they're probably all DDR2?