[Ecls-list] Latest changes

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu May 21 14:23:44 UTC 2009


* The existence or not of isfinite() is detected at compilation time.
Since it is a macro, writing an autoconf test is too complicated.

* Out of memory errors become restartable, but only if you set a
memory limit manually. If there is no memory limit, an out of memory
error unfortunately becomes fatal: you have exhausted all resources
provided by the operating system. An example:

juanjo-imac:~ jjgarcia$ ecl --heap-size 32000000
ECL (Embeddable Common-Lisp) 9.5.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (let ((a (make-list (* 1024 1024 10)))) (print (length a)))
Memory limit reached. Please jump to an outer pointer, quit program
and enlarge the
memory limits before executing the program again.
Broken at SI:BYTECODES.Available restarts:
1. (CONTINUE) Extend heap size
Broken at SI:BYTECODES.
>> :r1
Memory limit reached. Please jump to an outer pointer, quit program
and enlarge the
memory limits before executing the program again.
Broken at SI:BYTECODES.Available restarts:
1. (CONTINUE) Extend heap size
Broken at SI:BYTECODES.
>> :r1
Memory limit reached. Please jump to an outer pointer, quit program
and enlarge the
memory limits before executing the program again.
Broken at SI:BYTECODES.Available restarts:
1. (CONTINUE) Extend heap size
Broken at SI:BYTECODES.
>> :r1

10485760
10485760
> (let ((a (make-list (* 1024 1024 10)))) (print (length a)))

10485760
10485760
> (let ((a (make-list (* 1024 1024 50)))) (print (length a)))
Memory limit reached. Please jump to an outer pointer, quit program
and enlarge the
memory limits before executing the program again.
Broken at SI:BYTECODES.Available restarts:
1. (CONTINUE) Extend heap size
Broken at SI:BYTECODES.
>> (ext:set-limit 'ext:heap-size 0)

0
>> :r1

52428800
52428800

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list