[Openmcl-devel] Clozure CL on ARM, Ubuntu GNU/Linux, repeatedly creating processes eventually fails with a Kernel memory allocation failure

Rainer Joswig joswig at lisp.de
Tue Dec 31 16:56:20 PST 2013


Hi,

done a short test on ARM/Ubuntu. Seems to work. Many thanks.

Happy New Year!

Rainer Joswig


Am 01.01.2014 um 01:14 schrieb Gary Byers <gb at clozure.com>:

> The same bug affects both ARM and X86 versions; some stack space used by
> a thread isn't reclaimed when the thread exits.  That's fixed in the trunk
> souce as of r15995; I haven't yet checked to see if it affects the release.
> 
> The bug is more likely to cause a 32-bit implementation to run out of
> memory (or address space) than it is to affect a 64-bit implementation,
> simply because there's more of both on a 64-bit machine.
> 
> On Tue, 31 Dec 2013, Rainer Joswig wrote:
> 
>> Hi,
>> 
>> I have question about creating 'processes' using Clozure CL:
>> 
>> It is running on a four core ODROID under Ubuntu 13.10 (GNU/Linux 3.4.67 armv7l):
>> 
>> Welcome to Clozure Common Lisp Version 1.10-dev-r15972M-trunk  (LinuxARM32)!
>> 
>> ? (defun do-something () (+ (sin 1.5) (cos 1.3)))
>> DO-SOMETHING
>> 
>> ? (loop repeat 10000 do (process-run-function "foo" #'do-something))
>> Fatal error: :   Kernel memory allocation failure.
>> Can't allocate pointer of size 1159168 bytes.
>> 
>> 
>> I see above problem also when I call this loop several times with smaller numbers.
>> 
>> The same example works for me on a Quad Core Mac Mini with Clozure CL 1.9-rc1-r15688 without problem.
>> 
>> 
>> Q:  Could it be that there is a problem with freeing the memory of Lisp processes under Ubuntu/ARM/CCL?
>> 
>> 
>> 
>> Regards,
>> 
>> Rainer Joswig
>> 
>> 
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>> 
>> 




More information about the Openmcl-devel mailing list