> < ^ Date: Wed, 03 Nov 1999 10:32:13 +0100
> < ^ From: Stefan Kohl <kohl@mathematik.uni-stuttgart.de >
^ Subject: Re: Workspace problems under Windows (was (Kein Thema))

Dear GAP-Forum,

Evgenia Kouzoudi wrote:

Hi,my name is Evgenia Kouzoudi!
I have installed gap under windows and I have a problem. I hope you can help
me.
I have written a program and after 1 hour the program stopped and gap
returned:
"cannot extend the workspace anymore". I have read the install.win and there
"If Things Go Wrong". I have read that I must write a command with -o... in
the command line. Is this line in gap.bat the command line?
"c:\windows\gap\gap4r1\bin\gapw95.exe -m 14m -l c:\windows\gap\gap4r1;%1 %2
%3 %4 %5 %6 %7 %8"
I tried to write -o 64m in this line but it deosn't work? Must I write this
command in another place or must make something other.
I hope you can help me. Thank you.

Sorry about my late response. The option '-o 64m' should
probably read '-m 64m', I think. For starting GAP 4.1 under Windows 95,
I use an adjusted version of the batch file distributed together with GAP 3
(see below). Up to now, I did not encounter any problems with this choice.

Maybe, your computer has got much less than 64 MB RAM, or your
program needs in fact more than 64 MB - if this is the case, you probably
will notice permanent harddisc activity due to accessing the swap space

By the way, my experience is that when GAP under Windows starts
permanent swapping, the desired results are usually not obtained during
an 'awaitable' amount of time in most cases, so I often just stop the
computation after some time in such a situation.

Hope this helps,

Stefan

@echo off
rem #########################################################################
rem
rem gap.bat                     GAP                          Martin Schoenert
rem
rem This is a  batch file for Windows that starts  GAP.
rem This is the place  where  you  make  all  the  necessary  customizations.
rem Then copy this file to a directory in your search path,  e.g.,  'C:\DOS'.
rem If you later move GAP to another location you must only change this file.
rem

rem #########################################################################
rem
rem GAP_DIR . . . . . . . . . . . . . . . . . . . . directory where GAP lives
rem
rem Set 'GAP_DIR' to the name of the directory where you have installed  GAP,
rem i.e., the directory with the subdirectories  'lib',  'grp',  'doc',  etc.
rem This name must not end  with  the  backslash  directory  separator ('\').
rem The default is  'C:\gap\gap4b5'.
rem You have to change this unless you have installed  GAP in this  location.
rem
set GAP_DIR=D:\gap\gap4r1

rem #########################################################################
rem
rem GAP_MEM . . . . . . . . . . . . . . . . . . . amount of initial workspace
rem
rem Set 'GAP_MEM' to the amount of memory GAP shall use as initial workspace.
rem The default is 12 MByte, which is the minimal reasonable amount of memory.
rem You have to change it if you want GAP to use a larger initial workspace.
rem If you are not going to run GAP in parallel with other programs you may
rem want to set this value close to the amount of memory your computer has.
rem
set GAP_MEM=30m

rem #########################################################################
rem
rem GAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . run GAP
rem
rem You  probably should  not change  this line,  which  finally starts  GAP.
rem
%GAP_DIR%\bin\gapw95 -m %GAP_MEM% -l %GAP_DIR%; %1 %2 %3 %4 %5 %6 %7 %8

> < [top]