Clear Filters
Clear Filters

MATLAB uses 90%+ of CPU

9 views (last 30 days)
Emirhan Bilgiç
Emirhan Bilgiç on 24 Feb 2022
Commented: Walter Roberson on 5 Oct 2023
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.

Answers (1)

Krishna
Krishna on 5 Oct 2023
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 Comment
Walter Roberson
Walter Roberson on 5 Oct 2023
However, the question has to do with the CPU use, not memory use.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!