MATLAB uses 90%+ of CPU
7 次查看(过去 30 天)
显示 更早的评论
Hello, MATLAB on my PC uses 90%+ of the CPU. Even if my PC is kind of new brand. My PC has the CPU of Amd Ryzen 7 3750H. And also my RAM is 16 GB's. And my SSD is 512 GB's with 100 GB's of free space. Display card is GTX-1650.
The version of MATLAB is R2021b.
I add the screenshot of Task Manager. Could you please help me? Thanks alot in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/906235/image.png)
0 个评论
回答(1 个)
Krishna
2023-10-5
Hello Emirhan,
The task manager is displaying the memory allotted for MATLAB at that instance. When other applications would ask for memory, it would probably free the unused memory. Please go through the following MATLAB answer to learn more about this issue:
In addition to that, you can try several suggestions to reduce CPU memory usage, such as optimizing your code and clearing variables. It's also important to check for memory leaks and deallocate unnecessary memory using the clear command. Using memory-efficient data structures like sparse matrices or cell arrays instead of regular arrays can also help.
For more strategies to save memory, go through the following documentation:
Hope this helps,
Krishna Yadav.
1 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!