Memory leaks How to remove BufferObject

  ... the case you feel the need for a new feature or want to submit one.

Memory leaks How to remove BufferObject

Postby lxchiati » Fri Aug 20, 2010 12:15 pm

Hi, everyone!

I have big problem with memory when BufferObjectManager has never released BufferObject. How to do it.

Thank for support.
lxchiati
 
Posts: 18
Joined: Mon Jul 05, 2010 11:23 am

Re: Memory leaks How to remove BufferObject

Postby Nicolas Gramlich » Sat Aug 21, 2010 11:13 pm

Hi,

I added methods to unload BufferObjects (Changeset: http://code.google.com/p/andengine/sour ... 3e520121df)

I also modified the UnloadResourcesExample to show how to actually unload those BufferObjects.

Let me know if this helped :)

Best Regards,
Nicolas
Nicolas Gramlich
Site Admin
 
Posts: 1734
Joined: Mon Jun 07, 2010 6:20 pm
Location: Schriesheim, Germany

Re: Memory leaks How to remove BufferObject

Postby lxchiati » Mon Aug 23, 2010 7:38 am

Thank you very much, Nicolas. This codes are very userfull.

By the way, Could you tell me some tips and tricks for reduce memory in use. And I have Exception with Font.
font concurrent Exception.JPG
Concurrent Exception in Load Font
font concurrent Exception.JPG (86.55 KiB) Viewed 768 times


if i wait enough time. This Exception has never Appear.

Thank for support!
lxchiati
 
Posts: 18
Joined: Mon Jul 05, 2010 11:23 am

Re: Memory leaks How to remove BufferObject

Postby Nicolas Gramlich » Wed Sep 15, 2010 8:11 pm

Hi,

I assume you are dynamically creating Texts :?:
On what Thread do you do so:?:

Best Regards,
Nicolas
Nicolas Gramlich
Site Admin
 
Posts: 1734
Joined: Mon Jun 07, 2010 6:20 pm
Location: Schriesheim, Germany


Return to Features

Who is online

Users browsing this forum: No registered users and 9 guests