|
From: | Søren Hauberg |
Subject: | Re: New memory exhausted problem |
Date: | Mon, 13 Aug 2007 20:25:30 +0200 |
User-agent: | Thunderbird 1.5.0.12 (X11/20070604) |
address@hidden skrev:
I don't know much about this stuff, but 640*210*1800*8 (one number takes 8 bytes of memory on most 32bit machines) is approx. 2 GB of memory. I'm guessing that you can't allocate that much memory on your machine. On 32 bit machines there is a hard limit on the amount of memory you allocate. I don't know this limit, but it's highly possible that you're hitting this limit. Is it possible that you can process your data in minor segments or possibly use integers to represent the data?I recently have run into a repeatable memory exhausted problem. I am using Fedora Core 5 with the 2.9.9 version distributed iwht FC5. GNU Octave, version 2.9.9 (i686-redhat-linux-gnu). The following is the sequence of commands that causes the error: octave:1> a = zeros(640,210,1800); octave:2> b = zeros(640,210,1800); error: memory exhausted -- trying to return to prompt
Søren
[Prev in Thread] | Current Thread | [Next in Thread] |