array limits on arm ampere
[email protected] (Don Cohen) Wed, 24 Jan 2024 23:16:21 +0000 (GMT)
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
I've recently started using oracle cloud and I
notice that I can't allocate an array of >= 4M characters.
On intel with
*features*
(:REGEXP :WILDCARD :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL
:COMMON-LISP :LISP=CL :INTERPRETER :LOGICAL-PATHNAMES :MT :SOCKETS
:GENERIC-STREAMS :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :WORD-SIZE=64
:PC386 :UNIX)
(length (make-array (* 1024 1024 4)
:element-type 'character
:fill-pointer t :adjustable t))
=> 4194304
but on ampere with
*features*
(:READLINE :REGEXP :WILDCARD :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP
:ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :LOGICAL-PATHNAMES :SOCKETS
:GENERIC-STREAMS :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER
:WORD-SIZE=64 :UNIX)
*** - string too long: desired length 4194304 exceeds the supported maximum length
Both say
array-dimension-limit
4294967296
(interestingly, one MORE than impnotes says should be the value
for a 64 bit cpu)
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list