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

4828d528e2e46f7c8160c336eb332836?d=identicon&s=25 Robert Heiler (shevegen)
on 2013-12-28 20:48
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.