Azzera filtri
Azzera filtri

Out of memory

1 visualizzazione (ultimi 30 giorni)
abeer
abeer il 4 Nov 2011
I encountered that problem while using the "SIFT Descriptor" operator
[f2,d2] = vl_dsift(Q) ; ??? Error using ==> vl_dsift Out of memory. Type HELP MEMORY for your options.
where Q is from class single gray scale image.
Can anyone help me ?

Risposte (1)

Walter Roberson
Walter Roberson il 4 Nov 2011
What size is Q ?
Note that it is not uncommon for single-precision numbers to have to be promoted to double precision for some of the MATLAB routines. Or if not "have to be", then "accidentally" promoted because the code does not take care to protect its expressions with type restrictions. Anyhow, if Q is large but fits in single precision then the extra memory used in double precision operations could be an issue.
Which MATLAB version are you using, on which OS, and are you using 32 or 64 bit MATLAB? How much virtual memory (RAM and swap space) is available ?
  2 Commenti
abeer
abeer il 5 Nov 2011
Thank you for your reply, Walter. this is my first time using single precision so I will try to modify Q size
Q now is :
I use Matlab 32 bits R2010a, Windows 32 bits vista,
>> memory
Maximum possible array: 1176 MB (1.233e+009 bytes) *
Memory available for all arrays: 1365 MB (1.431e+009 bytes) **
Memory used by MATLAB: 435 MB (4.558e+008 bytes)
Physical Memory (RAM): 2046 MB (2.145e+009 bytes)
abeer
abeer il 5 Nov 2011
Q is 3240 * 4320

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by