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: Paul Kienzle
Subject: Re: Possible to increase 256 Mb Memory Limit? (Windows 2000)
Date: Thu, 18 Nov 2004 05:31:37 -0500

In the following, make sure the correct registry key is being
used.  The binary octave2150a from octave-forge hacks the
registry key in its embedded cygwin1.dll so that it can coexist
with cygwin.  I don't remember off hand what the key is, but
you can find it using regedit.exe to search for octave.

- Paul

On Nov 18, 2004, at 5:04 AM, Miroslaw Kwasniak wrote:

On Thu, Nov 18, 2004 at 12:59:31AM -0800, Robert A. Macy wrote:
According to the docs I should be able to type some line
like this...

system('regtool.exe -i set /HKLM/Software/Cygnus\
Solutions/Cygwin/heap_chunk_in_mb 1024')
[...]
if I type the above line, I get a single error statement
saying it doesn't like the back slash and is replacing it
with a " "

Somewhere it was described as _one-line_ (for command line - bash???) -
backslash is used here to splitting parameter whith space into two
parameters:

regtool.exe -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 1024

I don't it's good to do via octave `system' but you can try (in one line):

system('regtool.exe<sp>-i<sp>set<sp>/HKLM/Software/ Cygnus\\<sp>Solutions/Cygwin/heap_chunk_in_mb<sp>1024')

Where you have to change <sp> for ' ' (space character). I wrote so to
prevent distortion by e-mail system. Remark also two backslashes - octave interprets backslash sequences (so called escape sequences) - in this case
it'll convert \\ to \ as expected.

I don't how `system' is executed  on octave for Windows - maybe via
command/cmd? Then you can try use double quotes whithout backslash:

     "/HKLM/Software/Cygnus Solutions/Cygwin/heap_chunk_in_mb"

Mirek



-------------------------------------------------------------
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]