[Ecls-list] Maximum Memory Size in ECL?

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat Apr 11 18:03:34 UTC 2009


(defun ext::heap-size (&opt (new-size Cnil)))

Returns the actual heap size if NEW-SIZE = NIL or sets a new value.
Only increasing values make sense. Can be used at any time.

Juanjo

2009/4/11 Jean-Claude Beaudoin <jean.claude.beaudoin at gmail.com>:
>
> After some extensive source code browsing I finally understood the role
> of the  ECL_OPT_HEAP_SIZE enum and of its associated hard-coded default value
> of 128 Meg in vector "option_values".
>
> In the current state of the code there is indeed a hard-coded upper limit on the total
> memory ECL can use.  It is basically 128 Meg of heap space plus a few other Megs
> of private (probably static) space.  If one recompiles with a different value in the
> proper entry of "option_values" the then resulting instance of ECL will use the newly
> provided value as its limit.
>
> Is there any reason for "option_values" not to be accessible from some command line
> argument?  Is this simply that the code for that never got completed? The "option_values"
> vector seems such a natural thing to control through command  line arguments...
>
> Cheers,
>
> Jean-Claude Beaudoin
>
>
> On Thu, Apr 9, 2009 at 5:19 PM, Jean-Claude Beaudoin <jean.claude.beaudoin at gmail.com> wrote:
>>
>> Hello,
>>
>> Can someone tell me how to control the maximum memory size of ECL?  It seems to be hard coded at 132 Meg and that is quite too small for my taste on a machine with 4 Gig!
>>
>> I suspect that I need to modify some constant in a ".h" file and recompile. Is that it?
>>
>> Cheers,
>>
>> Jean-Claude Beaudoin
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list