Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Failed to load... out of memory.  (Read 2336 times)

0 Members and 1 Guest are viewing this topic.

AlexWD

  • Newbie
  • *
  • Posts: 1
    • View Profile
Failed to load... out of memory.
« on: August 20, 2010, 12:34:58 am »
I'm loading an image into memory, then unloading it later. Then I attempt to reload the image using LoadFromFile() and I'm receiving an error: Reason: out of memory. The application isn't using more than 12MB of memory, so I'm unsure why this is happening.. can someone shed some light on what I'm wrong?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Failed to load... out of memory.
« Reply #1 on: August 20, 2010, 09:04:23 am »
Can you show your code? Is it related to the image itself, or does it happen with any image file?
Laurent Gomila - SFML developer