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 .

Answers (3)

Daniel Shub
Daniel Shub on 27 Apr 2012

0 votes

The simple solution is probably to just buy more memory.

6 Comments

zainab
zainab on 27 Apr 2012
if u know the increasing memory by USB ,is it useful or not?
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 on 27 Apr 2012
i was try it , and still this error
zainab
zainab on 27 Apr 2012
so what can i do ? :(
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.
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.

Sign in to comment.

Jan
Jan on 27 Apr 2012

0 votes

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 Comments

zainab
zainab on 27 Apr 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
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 on 27 Apr 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 on 27 Apr 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

Sign in to comment.

Walter Roberson
Walter Roberson on 29 Apr 2012

0 votes

2 Comments

zainab
zainab on 29 Apr 2012
i was use some of this methods but error still appear
You have not given us any information about the _original_ size of the images.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 27 Apr 2012

Community Treasure Hunt

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

Start Hunting!