out of memory problem

heey all i'm working in neural network for Images recognition project i'm using matlab 10 and i need to use at least 10 images but when i try to use more than 2 images, out of memory error occurs and my Supervisor Dr. said that "my device doesn't have cache" so is there any solving to overcome for this error plz help me .. i have just 1 weak and some days to deadline .

Respuestas (3)

Daniel Shub
Daniel Shub el 27 de Abr. de 2012

0 votos

The simple solution is probably to just buy more memory.

6 comentarios

zainab
zainab el 27 de Abr. de 2012
if u know the increasing memory by USB ,is it useful or not?
Daniel Shub
Daniel Shub el 27 de Abr. de 2012
I don't know anything about USB based memory, but I am going to go out on a limb and say it is going to be so slow as to not be useful for MATLAB.
zainab
zainab el 27 de Abr. de 2012
i was try it , and still this error
zainab
zainab el 27 de Abr. de 2012
so what can i do ? :(
Daniel Shub
Daniel Shub el 27 de Abr. de 2012
You tried what, in under 2 hours you installed more RAM and tested things out? How much RAM did you install? Are you running 8 GB yet? If not, install more RAM.
Walter Roberson
Walter Roberson el 29 de Abr. de 2012
The only possible way that USB based memory could help you would be if you switched to the 64 bit version of MATLAB and you told MS Windows to use the USB drive as swap space. This would probably be fairly slow.

Iniciar sesión para comentar.

Jan
Jan el 27 de Abr. de 2012

0 votos

Please explain exactly, what you have tried. Which Matlab version are you using - what is "matlab 10"? Are you using a 64 bit system? How much RAM is available for Matlab?
Perhaps your programn contains a bug? Could you post it, or at least the relevant part, which causes the error?
What does "my device does not have cache" mean? Which device?

4 comentarios

zainab
zainab el 27 de Abr. de 2012
okey ..
i am trying to train neural networks with more than 2 images ,,and i was re-size all images to 128×128 ,it is too small but out of memory error still occurs !!..
and when our Supervisor Dr. saw my labtop he said that is not have cache memory !!..
i'm using MATLAB R2010a,, 32-bit system, and 327 MB RAM if u mean when i'm writing memory in command window ..
my program working well when i'm using 2 images for training .. just when i try to increase images the error Appears
Daniel Shub
Daniel Shub el 27 de Abr. de 2012
The memory function should give you 4 numbers. We are interested in the one labeled "Physical Memory (RAM)". My guess, as with my suggested answer is that 327 MB is really small.
zainab
zainab el 27 de Abr. de 2012
yes u alright ...
Maximum possible array: 605 MB (6.347e+008 bytes) *
Memory available for all arrays: 786 MB (8.242e+008 bytes) **
Memory used by MATLAB: 328 MB (3.436e+008 bytes)
Physical Memory (RAM): 3071 MB (3.220e+009 bytes)
i Surprised because i have 4GB RAM in my computer !!
zainab
zainab el 27 de Abr. de 2012
if u really want to help me
i can show u my computer by teamviewer
plz do any thing for me and I will be thankful to you

Iniciar sesión para comentar.

Walter Roberson
Walter Roberson el 29 de Abr. de 2012

0 votos

2 comentarios

zainab
zainab el 29 de Abr. de 2012
i was use some of this methods but error still appear
Walter Roberson
Walter Roberson el 29 de Abr. de 2012
You have not given us any information about the _original_ size of the images.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Abr. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by