[sr-dev] memory allocation error

Juha Heinanen jh at tutpro.com
Mon Oct 17 19:33:23 CEST 2011


Juha Heinanen writes

> i tried to start sr on amd64 architecture and got this:
> 
>  0(8945) : <core> [cfg.lex:1427]: ERROR:lex:addstr: memory allocation error
>  0(8945) : <core> [cfg.lex:1429]: ERROR:lex:addstr: try to increase pkg size with -M parameter
> 
>  i have -M 4, which works ok on i386 architecture.
> 
>  why do i get the errors?

when i increased -M value to 8, sr started ok.  does this mean that on
64 bit architecture, sr is consuming so much more memory bytes that 4 MB
is not enough pkg memory even when there is no users configured on the
system?

-- juha



More information about the sr-dev mailing list