xz -9 : Cannot allocate memory
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Aug 30 17:46:00 GMT 2013
On Aug 30 12:58, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > Yes, looks normal and expected from what you observed. mmap commits
> > memory top-down and that was apparently the first free slot big enough
> > to fullfil the request. The default heap size is 384 Megs and then
> > there's apparently not enough space anywhere.
>
> Sorry if I'm dense, but does this mean that setting the default heap size to
> zero does in fact mean it's trying to use 374MiB... wait, yes it is: the
> memory map is the same when I'm setting the initial heap size to 384MiB with
> peflags.
>
> So, even though that rather large heap is essentially unused at the point of
> failure and there is enough memory free just beyond the heap, the allocation
> still fails because both the existing heap and the free space are both
> smaller than what's requested?
Well, good question. You could debug the sbrk function and see why
it fails to reserve the space.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130830/2bb48627/attachment.sig>
More information about the Cygwin
mailing list