[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
memory leak in regexprep ? (windows/3.7.2+/VS)
From: |
Paryshaan |
Subject: |
memory leak in regexprep ? (windows/3.7.2+/VS) |
Date: |
Fri, 29 Mar 2013 15:06:44 -0700 (PDT) |
I have this problem too, but i don't used regexprep in my code.
I use octave version is 3.7.2+ VS in win vista 32 bit with 2 GB of RAM.
At the error time taskmanager shows that octave uses about 127,676 K of
memory.
The error is:
error: out of memory or dimension too large for Octave's index type
and refer to a line which is set to create a new variable with 28*187079
elements.
this is my workspace when error occurs(variable names are simplified):
>> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
a 1x7 7 char
b 1x1 8 double
c 20x1 110225280 cell
d 28x1 112 double
e 1x20 20 char
f 9x2x10 1440 double
g 1x1 8 double
h 1x1 8 double
i 1x70 70 char
j 1x1 8 double
k 1x1 152 struct
l 9x2x10 1440 double
m 1x1 8 double
n 1x1 8 double
o 1x1 1408 struct
p 1x1 1408 struct
q 1x1 8 double
r 1000x4 32000 double
s 1000x4 32000 double
t 10x1 60256 cell
u 10x1 60256 cell
v 1000x5 40000 double
w 1x8 8 char
x 28x1 224 double
y 1x1 8 double
z 1x20 1543118080 cell
z1 28x1 224 double
z2 1x1 8 double
z3 9x9 648 double
z4 1x1 8 double
z5 1x1 8 double
z6 1x1 8 double
z7 187070x10 14965600 double
z8 10x2 160 double
z9 1x10 80 double
z10 1x1 8 double
z11 1x1 8 double
Total is 1884437 elements using 1668540985 bytes
Any helps will be appreciated. Thanks in advance.
--
View this message in context:
http://octave.1599824.n4.nabble.com/memory-leak-in-regexprep-windows-3-7-2-VS-tp4651218p4651328.html
Sent from the Octave - General mailing list archive at Nabble.com.
- memory leak in regexprep ? (windows/3.7.2+/VS), Christoph Ellenberger, 2013/03/26
- Re: memory leak in regexprep ? (windows/3.7.2+/VS), Tatsuro MATSUOKA, 2013/03/26
- Re: memory leak in regexprep ? (windows/3.7.2+/VS), Tatsuro MATSUOKA, 2013/03/27
- Re: memory leak in regexprep ? (windows/3.7.2+/VS), Tatsuro MATSUOKA, 2013/03/27
- Aw: Re: memory leak in regexprep ? (windows/3.7.2+/VS), Christoph Ellenberger, 2013/03/27
- Re: Aw: Re: memory leak in regexprep ? (windows/3.7.2+/VS), Tatsuro MATSUOKA, 2013/03/27
- Re: Aw: Re: memory leak in regexprep ? (windows/3.7.2+/VS), Sergei Steshenko, 2013/03/27
- Aw: Re: Re: memory leak in regexprep ? (windows/3.7.2+/VS), Christoph Ellenberger, 2013/03/28
- memory leak in regexprep ? (windows/3.7.2+/VS),
Paryshaan <=