chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] chicken script with many CLI arguments


From: Sven Hartrumpf
Subject: [Chicken-users] chicken script with many CLI arguments
Date: Tue, 07 Dec 2010 14:43:10 +0100 (CET)

Hi all.

I am trying to call a chicken script with many command line
arguments (over 10000 file names).

This is a minimal example script:

bugch1.scm:
---------------------------------
#! /usr/local/bin/csi -script

(write (command-line-arguments))
---------------------------------

> bugch1.scm *
[panic] out of memory - heap full while resizing - execution terminated


I tried to change the heap size:

---------------------------------
#! /usr/local/bin/csi -:h1m -script

(write (command-line-arguments))
---------------------------------

> bugch1.scm *
Segmentation fault


How can I get this working?


Version details:
Version 4.6.3 
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2010-11-23 (Linux)

Same problem on:
Version 4.6.3 
linux-unix-gnu-x86 [ manyargs dload ]
compiled 2010-09-21 (Linux)


Ciao
Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]