Out of memory

2 次查看(过去 30 天)
abeer
abeer 2011-11-4
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 ?

回答(1 个)

Walter Roberson
Walter Roberson 2011-11-4
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 个评论
abeer
abeer 2011-11-5
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 2011-11-5
Q is 3240 * 4320

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by