Re: [gtk-list] Re: drawing area size



On Wed, 27 Jan 1999, Roland Bock wrote:
> > 
> > > I am not sure what amount of data you need per pixel, I guess it is 4
> > > Bytes at least. Then you have 5000*5000*4Bytes=100MB.
> > >
> > 
> > You are absolutely right -- I just switched to 8bpp and it works :)
> 
> No. Owen was right. It must have been a backing pixmap or something like
> that.

Frankly speaking, after reading you letter I catched that problem was with
creating pixmap 'cos not my program but X allocates up to 80% of memory.

_____
Alexander Kotelnikov
Saint-Petersburg, Russia
mailto:sacha@ak2614.spb.edu




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