Re: Is there a defined xpixmap width limit?

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

 



On 04/21/2011 08:47 PM, Marc Aurele La France wrote:
>> So my question is: Is it an 'out of memory' error (returned by malloc)
>> or a width value above a defined limit?
> 
> BadAlloc normally indicates an inability to malloc() the space.  A 64K x
> 64K 32-bit pixmap would require 128GB which would need to be provided by
> a combination of real memory and swap space.
> 
> Marc.

Thanks.
I've just been looking at the x11 protocol and xpixmaps width/height is
stored as 16-bit unsigned int (CARD16.) Anyways, it just makes sense to
run out of memory for really huge pixmpas.


-- 
Emmanuel Thomas-Maurin <manutm007@xxxxxxxxx>
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86


[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux