axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] How to allocate more space for Axiom on Windows


From: William Sit
Subject: Re: [Axiom-developer] How to allocate more space for Axiom on Windows
Date: Sun, 04 Feb 2007 04:08:03 -0500

Thanks, Waldek. I tried as you suggested; the allocate produces a system
error unless I use a very small number. Nonetheless, the CONS type space
seems to have 200000 even though there is an error message.

However, when I run the computation, it stops again. So I am not sure if
I got any extra space that way (the max page is still the same) or it is
some other type of memory that needs to be increased.  I am limited to
131072 pages (using (room), as suggested by Gregory Vanuxem -- Greg,
thanks for the docs). So it looks like 512MB. I am using a precompiled
version on Windows. I have no idea what gcl I am using.

I also tried the commands from SI but the run always quit after using up
the pages (but there is still plenty of physical memory).



William

----- transcript from trials
(2) -> )lisp (ALLOCATE 'cons 200000 t))

   >> System error:
   Can't allocate 200000 pages for CONS.

protected-symbol-warn called with (NIL)
(2) -> )lisp (room)

 52815/200000   1.3%     115CONS RATIO COMPLEX STRUCTURE
    73/200    42.9%         FIXNUM SHORT-FLOAT CHARACTER RANDOM-STATE
READTABLE
NIL
   224/500    97.4%         SYMBOL STREAM
     1/8      23.1%         PACKAGE
  3651/5114    0.4%      12 ARRAY HASH-TABLE VECTOR BIT-VECTOR PATHNAME
CCLOSURE
 FAT-STRING
   125/500    69.7%         STRING
   100/100    12.6%       1 CFUN BIGNUM LONG-FLOAT
    34/89     99.4%         SFUN GFUN CFDATA SPICE NIL

  4293/5347               2 contiguous (234 blocks)
       2000                 hole
       9161    0.6%      38 relocatable

     57023 pages for cells
     72477 total pages
     45060 pages available
     13535 pages in heap but not gc'd + pages needed for gc marking
    131072 maximum pages
Value = NIL
(2) -> psolve(amat,9)

   >> System error:
   The storage for CONS is exhausted.
Currently, 82872 pages are allocated.
Use ALLOCATE to expand the space.

protected-symbol-warn called with (NIL)
(2) -> )lisp (room)

 82872/200000  71.5%     143CONS RATIO COMPLEX STRUCTURE
    73/200    41.8%         FIXNUM SHORT-FLOAT CHARACTER RANDOM-STATE
READTABLE
NIL
   224/500    97.3%         SYMBOL STREAM
     1/8      23.1%         PACKAGE
  5114/5114    0.3%      27 ARRAY HASH-TABLE VECTOR BIT-VECTOR PATHNAME
CCLOSURE
 FAT-STRING
   125/500    68.9%         STRING
   100/100    12.2%       2 CFUN BIGNUM LONG-FLOAT
    34/89     99.4%         SFUN GFUN CFDATA SPICE NIL

  4293/5347               2 contiguous (234 blocks)
       2000                 hole
       15931  30.3%      59 relocatable

     88543 pages for cells
    110767 total pages
         0 pages available
     20305 pages in heap but not gc'd + pages needed for gc marking
    131072 maximum pages
Value = NIL
(2) -> )lisp (si::allocate-growth 'cons 1 10 50 10)

Value = (0 0 0 0)
(2) -> )lisp (room)

 82872/200000  71.6%     143CONS RATIO COMPLEX STRUCTURE
    73/200    42.1%         FIXNUM SHORT-FLOAT CHARACTER RANDOM-STATE
READTABLE
NIL
   224/500    97.3%         SYMBOL STREAM
     1/8      23.1%         PACKAGE
  5114/5114    0.3%      27 ARRAY HASH-TABLE VECTOR BIT-VECTOR PATHNAME
CCLOSURE
 FAT-STRING
   125/500    69.3%         STRING
   100/100    12.3%       2 CFUN BIGNUM LONG-FLOAT
    34/89     99.4%         SFUN GFUN CFDATA SPICE NIL

  4293/5347               2 contiguous (234 blocks)
       2000                 hole
       15931  30.3%      59 relocatable

     88543 pages for cells
    110767 total pages
         0 pages available
     20305 pages in heap but not gc'd + pages needed for gc marking
    131072 maximum pages
Value = NIL
(2) -> psolve(amat,9)

   >> System error:
   The storage for CONS is exhausted.
Currently, 82872 pages are allocated.
Use ALLOCATE to expand the space.

protected-symbol-warn called with (NIL)

(2) -> )lisp (setq *ignore-maximum-pages* t)

Value = T
(2) -> )lisp (si::allocate-contiguous-pages 10000 t)

   >> System error:
   Can't allocate 10000 pages for contiguous blocks.

protected-symbol-warn called with (NIL)
(2) -> )lisp (room)

 82872/200000   0.8%     185CONS RATIO COMPLEX STRUCTURE
    73/200    42.1%         FIXNUM SHORT-FLOAT CHARACTER RANDOM-STATE
READTABL
NIL
   224/500    97.3%         SYMBOL STREAM
     1/8      23.1%         PACKAGE
  5114/5114    0.3%      50 ARRAY HASH-TABLE VECTOR BIT-VECTOR PATHNAME
CCLOSU
 FAT-STRING
   125/500    69.3%         STRING
   100/100    12.3%       2 CFUN BIGNUM LONG-FLOAT
    34/89     99.4%         SFUN GFUN CFDATA SPICE NIL

  4293/10000              3 contiguous (234 blocks)
       2000                 hole
       15931   0.3%      66 relocatable

     88543 pages for cells
    110767 total pages
         0 pages available
     20305 pages in heap but not gc'd + pages needed for gc marking
    131072 maximum pages
Value = NIL
(2) -> psolve(amat,9)

   >> System error:
   The storage for CONS is exhausted.
Currently, 82872 pages are allocated.
Use ALLOCATE to expand the space.

protected-symbol-warn called with (NIL)

-------


Waldek Hebisch wrote:

> William Sit wrote:
> >    >> System error:
> >    The storage for CONS is exhausted.
> > Currently, 82689 pages are allocated.
> > Use ALLOCATE to expand the space.
> >
> > Can any one tell me how to increase the space? Exactly how
> > big is one page? I have 2GB RAM. Is it possible to allocate
> > the max to Axiom (under Windows XP)?
> >
>
> Have you tried to follow the advice:
>
> )lisp (allocate 'cons 200000 t)
>
> (Or some bigger number instead of 200000).  Using gcl 2.6.7 I can
> maximally give 110000 (120000 is refused, few numbers between crashed
> gcl).  Using gcl 2.6.8 I can give bigger values.  Typically page
> means 4 kilobytes, that would agree with process size (empty Axiom
> about 80 Mb, around 900 Mb after allocating 200000 pages).
>
> --
>                               Waldek Hebisch
> address@hidden

--
William Sit
Department of Mathematics..Email: address@hidden
City College of New York................Tel: 212-650-5179
New York, NY 10031, USA.................Fax: 212-862-0004
Home page: .......http://scisun.sci.ccny.cuny.edu/~wyscc/






reply via email to

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