Thank you all for your help. I figured out the issue, I had OC'd my CPU a while ago, and despite running on 'standard performance' in my OC tool, I was still running at 4.5 GHz. Manually changing it back to default and everything works now! (12 hours later)
Help diagnosing PC restart issue while computing matrix pseudo inverse
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all,
I am having trouble running a code due to my PC crashing/restarting whilst running. I narrowed down that the crash occurs when trying to use pinv(). I am essentially reconstructing signals, and even with the smallest possible signal, I am required to find the pseudoinverse of a 654*4096 array (I am not sure if this should be considered computationally heavy, but you could say its my minimum requirement).
It was suggested I have a memory issue (8gb RAM) and this may be likely. I'm no expert on the specifics between physical/virtual memory, but I've tried monitoring my physical memory usage prior to crashing using the windows perfmon, and it appears that at least 1 second before crashing (perfmon logs at 1 second intervals) MATLAB is using around 5.2gb ram. Coupled with my remaining processes using ~30% RAM it appears memory could be my issue.
I just wanted to see if anyone else thinks otherwise before I go out and buy some more sticks?
Cheers.
* EDIT: I would like to add that after some debugging, I can say that my PC is crashing while trying to calculate the singular value decomposition SVD, used in the pinv() function... if that helps anyone.
EDIT 2: Tried again with 16gb ram, as well as replacing my initial 2 sticks with 2 brand new sticks, still no luck. Meanwhile my friends can run it fine with 8gb ram. The arrays being produced by the initial part of the code match between me and anyone else, apart from some random noise which is generated in y where z = pinv(x)*y. I got my friend to send over his arrays which worked for him and tried to calculate pinv( on the command line, and PC still crashes.
댓글 수: 0
채택된 답변
James Pittard
2016년 5월 19일
댓글 수: 1
Walter Roberson
2016년 5월 19일
(For those whose first language is not English Technical: OC is "Overclock")
추가 답변 (2개)
Ahmet Cecen
2016년 5월 19일
편집: Ahmet Cecen
2016년 5월 19일
Your machine wouldn't just restart for insufficient memory, and in the case of faulty memory, the machine usually freezes. If you want to make sure, use memtest86+:
댓글 수: 1
Ahmet Cecen
2016년 5월 19일
Now move on to:
This will stress test your CPU. Check if the machine crashes.
Walter Roberson
2016년 5월 19일
A complete crash of the system might be hardware, but... Which CPU do you have? In particular do you have an AMD Jaguar series processor?
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!