Lisp Knowledgebase

Title: Large 64-bit LispWorks 6.0 images may fail to start on Windows XP

ID: 17062

Description: A large LispWorks 6.0 Enterprise (64-bit) for Windows saved image or delivered application may fail on startup with a message like this:

Problem with <exe filename>Failed to read for executable 0000004100000000 0000000002000000Error 1450: Insufficient system resources exist to complete the requested service.

The cause is a limit in Microsoft Windows XP Professional x64 Edition that is triggered by having a function segment of 32MB or more in a saved LispWorks 6.0 image.

Note: This issue is fixed in LispWorks 6.1 . The workaround below applies to LispWorks 6.0.

See Also:
Workaround: Call (sys:set-maximum-segment-size 7 :function 31) in your build script.
LispWorks will then create several code segments, each one no more than 31MB, which will avoid the limit in the OS.
Patch: