Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: conv2 of a large image
Date: Fri, 2 Jan 2009 02:43:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 72
Message-ID: <gjjuvl$lbo$1@fred.mathworks.com>
References: <gjhd65$7b2$1@fred.mathworks.com> <6cc68097-2e74-4872-bd05-e551acf0db01@u14g2000yqg.googlegroups.com> <2988496d-4770-4710-9213-6596da54c8ab@f11g2000vbf.googlegroups.com> <gjjq7p$6di$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1230864181 21880 172.30.248.35 (2 Jan 2009 02:43:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 2 Jan 2009 02:43:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1343420
Xref: news.mathworks.com comp.soft-sys.matlab:509457


"amcum ammcum" <ammcum@yahoo.fr> wrote in message <gjjq7p$6di$1@fred.mathworks.com>...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message <2988496d-4770-4710-9213-6596da54c8ab@f11g2000vbf.googlegroups.com>...
> > On Jan 1, 12:43=A0pm, "amcum ammcum" <amm...@yahoo.fr> wrote:
> > > "Nasser Abbasi" <n...@12000.org> wrote in message <%S67l.7852$pr6.4...@fl=
> > pi149.ffdc.sbc.com>...
> > >
> > > > "amcum ammcum" <amm...@yahoo.fr> wrote in message
> > > >news:gjiqsl$mnr$1@fred.mathworks.com...
> > >
> > > > > The problem is with the 'Out of memory message'
> > >
> > > > Ok, How much memory does your PC/laptop have?
> > >
> > > > --Nasser
> > >
> > > I 'm using vista home premium with my laptop: 3G RAM and 300Go HD
> > > I have also used a desktop with 512Mo RAM (more than 30 Go free HD memory=
> > ).
> > >
> > > Matlab generate the same memory limitation message (for the two machines:=
> >  desktop and laptop) once the array dimension accede 3000 x 3000 pixel.
> > > So I believe (not sure) that the problem is a combination of a software-h=
> > ardware.
> > >
> > > Best regards.
> > 
> > ----------------------------------------------------------------------
> > amcum:
> > 10k by 10k by 8 bytes (for double) gives about 800 MB.  Now double
> > that since it'll need to also create an output image, and you're up to
> > at least 1.6 GB.  You are probably just out of memory.  Are you using
> > Windows?  Do you have the /3GB switch (Google it) set when you run
> > windows?
> > 
> > Can you type memory at the MATLAB command prompt and paste the
> > response here?
> > 
> > How important is this to you?  If you're willing to spend money, you
> > can get Star-P (http://www.interactivesupercomputing.com/) and get rid
> > of your memory problems in MATLAB.  You can even have terabyte sized
> > arrays.
> > 
> > Otherwise you may have to convolve it in smaller parts and piece them
> > together - a mess since you'll have lots of boundaries to fix up
> > because it's not simply stitching the parts together.
> > Regards,
> > ImageAnalyst
> 
> The 3GB switch  :
> I introduce the command to the prompt :
> bcdedit /set IncreaseUserVa 3072
> and this do not resolve my problem.
> 
> - for the memory function it don&#8217;t produce any output !
> - The application is important  for me, but I am not able to pay an Star-P solution !

---------------------------------------------------------------------
Well you'd better call The Mathworks support because there's something wrong with your installation.  When I type memory, I get this:
>> memory
Maximum possible array:            1120 MB (1.174e+009 bytes) *
Memory available for all arrays:   2542 MB (2.666e+009 bytes) **
Memory used by MATLAB:              244 MB (2.556e+008 bytes)
Physical Memory (RAM):             3070 MB (3.219e+009 bytes)

*  Limited by contiguous virtual address space available.
** Limited by virtual address space available.

Maybe you have an old version.

To get the 3GB switch working you have to have a line similar to this in c:\boot.ini:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB" /NoExecute=AlwaysOff /fastdetect /3GB
------------------------------------------------------------------------------------