Author Topic: out of memory help  (Read 2615 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: out of memory help
« Reply #15 on: August 12, 2012, 08:38:08 pm »
Maybe...i really don't know nor do i know what might help against this. I suggest to try to decrease your app's memory requirements. That should help to ease the problem.

Offline Disastorm

  • long
  • ***
  • Posts: 161
    • View Profile
Re: out of memory help
« Reply #16 on: August 13, 2012, 06:12:55 am »
Yea I was thinking of either doing that or just using maybe newer versions of vm, im testing it on 2.2.  Anyway, if I create a Texture but don't add it to the manager, is there something I need to do to unload it, or will it automatically unload when it goes out of scope, or am I supposed to actually add all the Textures to the manager?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: out of memory help
« Reply #17 on: August 13, 2012, 08:33:59 am »
If the gl context changes, it will be unloaded from the gpu anyway. If it doesn't, you have to use the unloadTexture-method() in the TextureManager.