my computer shuts down when i run a matlab code

hi everybody since yesterday i have been trying to run a matlab code (feature extraction using pca). the original matrix is 8192*300. However MATLAB shuts down by itself when I do so. java heap size is set at 990 MB (which is maximum). Can anyone please help me asap. thanks

댓글 수: 5

Adam
Adam 2015년 4월 13일
You'll have to give more information on what you are doing exactly. 8192*300 is not a large data matrix, but depending what you are doing with PCA if you are creating thousands of result matrices or something similarly memory-intensive then it could be taking any amount of memory potentially.
I've never had my computer shut down on running Matlab code, although I have had it freeze to the extent I had to power off and on again.
maryam
maryam 2015년 4월 13일
i want to reduce matrix size using PCA. for example get a matrix of size 10* 300. i really dont know what is the problem and how can i fix this :(
Also note, that the java heap size has nothing to do with the amount of memory available for calculations and storing matrices
If anything increasing the java heap side may reduce the amount available to matlab. As a rule, don't mess with memory settings.
dpb
dpb 2015년 4월 13일
Besides other comments what, precisely does "MATLAB shuts down by itself" and what error message(s) if any are produced? Also, of course, w/o the actual code and data, etc., nobody here can do a thing as except guess noted.
maryam
maryam 2015년 4월 13일
it doesn't show any error msg. i upload my code and data, so if it is possible, plz check. load r_app and run main.m

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2015년 4월 13일

0 개 추천

For complete crashes of MATLAB (not just your script, but the whole MATLAB development environment), where it just shuts down, contact the Mathworks: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
If it's repeatable, they can probably fix it or give you a workaround.

카테고리

도움말 센터File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

태그

질문:

2015년 4월 13일

답변:

2015년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by