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 Commenti

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.
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.
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.
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

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 13 Apr 2015
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.

Richiesto:

il 13 Apr 2015

Risposto:

il 13 Apr 2015

Community Treasure Hunt

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

Start Hunting!

Translated by