help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible to increase 256 Mb Memory Limit? (Windows 2000)


From: Robert A. Macy
Subject: Re: Possible to increase 256 Mb Memory Limit? (Windows 2000)
Date: Thu, 18 Nov 2004 09:00:03 -0800

Richard,

Yes ! ! ! Thank you for the help.

Oddly, a big help was using the double quote marks around
the whole phrase so that spaces get accepted.  Otherwise,
the "GNU Octave" part keeps getting thrown out.  

Your sequence gets me into the right place.  Right now I'm
trying octave using the larger memory allocation to read in
a 21MB file and so far it's still running.  Used to "bomb"
instantly in a panic mode.  

Will let everyone know the *exact* sequence I used and how
well it works...Just read in a 21MB file which created a
vector that is over 7MB in size!  But, as usual after
running large files, octave won't exit well and leaves
itself running pieces, so I have to use the ctrl-alt-del to
select the pieces and kill them one by one.   Is OK, I
finally got the memory to expand - thanks to Richard.  

Exact method is follow what Richard said to do.  

                 - Robert -


On Thu, 18 Nov 2004 10:27:10 +0000
 Richard Thomas <address@hidden>
wrote:
> I've finally managed to achieve increased memory (using
> the combined Cygwin/Octave 2.1.42 p4atlas build under
> Windows 2000)! Hopefully this might help Robert too. The
> main change was that Cygwin/Octave seems to be ignore the
> "heap_chunk_in_mb" registry setting for the "local
> machine", but does spot the one for the "current user".
> 
> In a Command Prompt (DOS) window, to set then check the
> registry setting
> "C:\Program Files\GNU Octave\bin\regtool" -i set
> "/HKCU/Software/GNU Octave/Cygwin/heap_chunk_in_mb" 1216
> "C:\Program Files\GNU Octave\bin\regtool" -v list
> "/HKCU/Software/GNU Octave/Cygwin"
> 
> In theory, you should be able to set it for all users
> with:
> "C:\Program Files\GNU Octave\bin\regtool" -i set
> "/HKLM/Software/Cygnus\
> Solutions/Cygwin/heap_chunk_in_mb" 1216
> 
> but this does not seem to get picked up by Octave. Also,
> with my Windows2000 paging size set to 1536 Mb, if I try
> to set the heap size to a larger value, Octave fails
> immediately. Not sure why happens, but I've got rather
> more memory to play with now so I'm happy:
> "C:\Program Files\GNU Octave\bin\regtool" -i set
> "/HKCU/Software/GNU Octave/Cygwin/heap_chunk_in_mb" 1300
> "C:\Program Files\GNU Octave\bin\octave-2.1.4
> 2-p4atlas.exe"
> C:\Program Files\GNU
> Octave\bin\octave-2.1.42-p4atlas.exe: *** 2. unable to
> allo
> cate heap, heap_chunk_size 1363148800, Win32 error 8
> 
> And if I set it above a certain size "regtool" fails with
> the same error, so the registry has to be manually edited
> with "regedit".
> 
> (calling "regtool" using "system" within Octave seems to
> work OK as well, although as Marek points out you have to
> be careful when file pathnames have space characters in
> them).
> 
> Richard
> 
> 
> 
> 
>
-------------------------------------------------------------
> Octave is freely available under the terms of the GNU
> GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:
>  http://www.octave.org/funding.html
> Subscription information:
>  http://www.octave.org/archive.html
>
-------------------------------------------------------------
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]