I was just trying to compile a system containing macros that generate a large amount of code. I got this error:
Compiled function can't be loaded: org.armedbear.lisp.demo_tmpHVF0FTR3_246 from org.armedbear.lisp.Pathname@2a31c2ec
Does anyone know the likely reason for this? The code I'm compiling works with all other CL implementations I've tried. Is it just a matter of the code size?
Thanks,
Andrew
A complete guess: Does increasing the heap size for your java VM help?
Kind regards,
Gunter
Am 21. November 2021 22:23:19 MEZ schrieb Andrew Sengul ml@imagegardenphoto.com:
I was just trying to compile a system containing macros that generate a large amount of code. I got this error:
Compiled function can't be loaded: org.armedbear.lisp.demo_tmpHVF0FTR3_246 from org.armedbear.lisp.Pathname@2a31c2ec
Does anyone know the likely reason for this? The code I'm compiling works with all other CL implementations I've tried. Is it just a matter of the code size?
Thanks,
Andrew
The JVM has a hard limit in the size of the code for each method. Unfortunately, the ABCL compiler is not able to split those methods that exceed the threshold.
On Sun, 21 Nov 2021 at 22:23, Andrew Sengul ml@imagegardenphoto.com wrote:
I was just trying to compile a system containing macros that generate a large amount of code. I got this error:
Compiled function can't be loaded: org.armedbear.lisp.demo_tmpHVF0FTR3_246 from org.armedbear.lisp.Pathname@2a31c2ec
Does anyone know the likely reason for this? The code I'm compiling works with all other CL implementations I've tried. Is it just a matter of the code size?
Thanks,
Andrew
That's probably it, thanks. I boosted the heap size to 12G and no luck. The code I'm building generates some really massive functions so that must be the culprit.
On 11/22/21 5:49 AM, Alessio Stalla wrote:
The JVM has a hard limit in the size of the code for each method. Unfortunately, the ABCL compiler is not able to split those methods that exceed the threshold.
On Sun, 21 Nov 2021 at 22:23, Andrew Sengul <ml@imagegardenphoto.com mailto:ml@imagegardenphoto.com> wrote:
I was just trying to compile a system containing macros that generate a large amount of code. I got this error: Compiled function can't be loaded: org.armedbear.lisp.demo_tmpHVF0FTR3_246 from org.armedbear.lisp.Pathname@2a31c2ec Does anyone know the likely reason for this? The code I'm compiling works with all other CL implementations I've tried. Is it just a matter of the code size? Thanks, Andrew
armedbear-devel@common-lisp.net