[Scilab-users] Issue when compiling Scilab: "Cannot allocate this quantity of memory"

Clément David clement.david at scilab-enterprises.com
Tue Mar 3 10:24:29 CET 2015


Hello (added dev ML),

Le lundi 02 mars 2015 à 06:01 -0700, Nukles a écrit :
> So my guess is: MAXLONG is not declared, so the function does not return a
> value (or it returns 0) and therefore the error message is triggered because
> the stacksize given as input is higher than 0 or NULL or N/A.
> 
> My questions are then:
> 
>  - Why are all lines commented where MAXLONG is defined?

On my system (Fedora 21 x86_64) the MAXLONG macro is defined at :

stackinfo.c:35 #define MAXLONG LONG_MAX

and LONG_MAX comes from limits.h


>  - Where does MAXLONG originate from? Is it something passed from the
> kernel?
>  - How can I solve the problem?

Well, as we do not have any PPC64 at Scilab I cannot check. Is a VM
available for that platform / distro ?


--
Clément




More information about the users mailing list