[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: memory exhausted when reading 129M file
From: |
Zheng, Xin (NIH) [C] |
Subject: |
RE: memory exhausted when reading 129M file |
Date: |
Mon, 13 Aug 2012 16:25:10 -0400 |
Attached is a few lines of the file. Totally 11 columns in the fie.
The commands are:
fid=fopen('filename')
data=textscan(fid, '%s%f%s%f%s%f%s%f%s%f%s%f%s%f%s%f%s%f%s%f%s%f');
Thank you!
Xin
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Jordi GutiƩrrez Hermoso
Sent: Monday, August 13, 2012 4:17 PM
To: Zheng, Xin (NIH) [C]
Cc: address@hidden
Subject: Re: memory exhausted when reading 129M file
On 13 August 2012 14:57, Zheng, Xin (NIH) [C] <address@hidden> wrote:
> I am trying to use textscan to read a text file of 129M. I am running
> 32bit Octave 3.6.1 on Windows XP which is compiled with visual studio
> (octave-3.6.1-vs2010-setup-1.exe). Unluckily Octave complains "error:
> memory exhausted or requested size too large for range of Octave's
> index type -- trying to return to prompt".
Can you give an example of a few lines of the file you're trying to read and
the exact Octave command you're using to do so?
- Jordi G. H.
Document.txt
Description: Document.txt