Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news2!postnews.google.com!f11g2000vbf.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: conv2 of a large image
Date: Thu, 1 Jan 2009 13:39:12 -0800 (PST)
Organization: http://groups.google.com
Lines: 45
Message-ID: <2988496d-4770-4710-9213-6596da54c8ab@f11g2000vbf.googlegroups.com>
References: <gjhd65$7b2$1@fred.mathworks.com> <6cc68097-2e74-4872-bd05-e551acf0db01@u14g2000yqg.googlegroups.com> 
	<31_6l.9245$W06.474@flpi148.ffdc.sbc.com> <gjiqsl$mnr$1@fred.mathworks.com> 
	<%S67l.7852$pr6.4099@flpi149.ffdc.sbc.com> <gjivb5$5f8$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1230845952 5200 127.0.0.1 (1 Jan 2009 21:39:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 1 Jan 2009 21:39:12 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f11g2000vbf.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:509438


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