Re: [gtk-list] drawing area size



Hi!

I think it is simply too much memory you are asking for.

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.

This would cause many systems to drop the application like a red glowing
piece of lava.

Greetings,
Roland Bock

Alexander Kotelnikov wrote:
> 
> It's a question to GTK developers -- what is the maximum size of
> gtk_drawing_area -- when I set it to 5000x5000 I get a very big core :)
> and warning:
> 
> Gdk-ERROR **: BadAlloc (insufficient resources for operation)
>   serial 87 error_code 11 request_code 53 minor_code 0
> 
> aborting...
> IOT trap/Abort (core dumped)
> 
> Thanks,
> _____
> Alexander Kotelnikov
> Saint-Petersburg, Russia
> mailto:sacha@ak2614.spb.edu
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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