Gdk::Pixbuf.new(image) - When will there be errors? Memory Usage

Hi,

My current computer has ruby 1.9.3pxxx

I have almost 4 Gig RAM.

When I use:

Gdk::Pixbuf.new()

And then

image.set(small_image)

Where image is

image = Gtk::Image.new()

The problem I run into is this:

“Insufficient memory to load image file”

Does anyone know if this is common? Or perhaps I have a
problem with my code… I am trying to find out if I
can easily re-load new images and display them in a
widget which holds a Gtk::Image.new instance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs