From: SourceForge.net <no...@so...> - 2005-01-25 18:55:51
|
Bugs item #1109297, was opened at 2005-01-25 18:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1109297&group_id=1355 Category: clisp Group: segfault Status: Open Resolution: None Priority: 5 Submitted By: ayebei (ayebei) Assigned to: Sam Steingold (sds) Summary: segfault and out of memory? Initial Comment: My system is a linux has 2GB memory and 4GB virtual memory. The segfault occurred when my program only requested around 1GB memory. (I monitored this using top command.) My system should be able to handle my program since it has a total of 6GM memory. The core dump says: vacall: va_start type %d and va_return type %d disagree. vacall: struct of size %u too large for pcc struct return. trampoline: Out of virtual memory! To simulate the effect, I wrote this small program to reproduce the problem. [2]> (defun test (n) (let ( (x nil) ) (setq x (make-array n :initial-element nil)) (dotimes (i n) (setf (aref x i) (make-array 10 :initial-element nil)) (if (equal (rem i 1000000) 0) (format t "done with ~A iter~%" i)) ) )) [3]> (test 10000000) // 10^7 done with 0 iter done with 1000000 iter done with 2000000 iter done with 3000000 iter done with 4000000 iter done with 5000000 iter done with 6000000 iter done with 7000000 iter done with 8000000 iter done with 9000000 iter NIL [4]> (test 1000000) // 10^6 done with 0 iter Segmentation fault Is there a maximum memory limit? What can I do to increase the memory in clisp? thanks Ben B. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1109297&group_id=1355 |