Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#336 closed defect (invalid)

cxml-stp breaks ABCL

Reported by: charmon Owned by:
Priority: major Milestone:
Component: compiler Version: 1.3.0-dev
Keywords: cxml-stp Cc:
Parent Tickets:

Description

Even with various memory-size increasing java incantations, trying to load cxml breaks ABCL:

CL-USER> (asdf:load-system 'cxml-stp)
; Caught STYLE-WARNING:
; redefining CXML-STP-IMPL::NAMEP in #P"/Users/sly/quicklisp/dists/quicklisp/software/cxml-stp-20120520-git/document-type.lisp" (previously defined in #P"/Users/sly/quicklisp/dists/quicklisp/software/cxml-stp-20120520-git/element.lisp")

; Compilation unit finished
; Caught 1 STYLE-WARNING condition

; Evaluation aborted on NIL.
CL-USER> (room)
Total memory 1900544000 bytes
70354912 bytes used
1830189088 bytes free
70354912
1900544000
1908932608

Other than the "Evaluation aborted on NIL" it seems like things worked, although this was a pretty big clue that things weren't quite right. However, after this the JVM is rather borked. You might be able to evaluate some simple expressions (like "3") at the REPL, but the JVM pegs the CPU and quickly becomes unresponsive.

Change History (2)

comment:1 Changed 11 years ago by charmon

Resolution: invalid
Status: newclosed

The problem was triggered by insufficient PermGen? space. VM args need to come before the java main class in the java command string and therefore can't be set as args to the abcl sh script.

comment:2 Changed 11 years ago by Mark Evenson

The recommended way to set JVM options for the abcl invocation wrappers is to set the "java.options" Java property at build-time in a file named 'abcl.properties'.

See trunk/abcl/abcl.properties.in for an example of the contents of such a file.

Note: See TracTickets for help on using tickets.