Login Action Required

The NinevehGL Forum uses a new concept of "socialized forum" or as we like to say "Tweet Forum".


Here is the deal:
  1. No new registration is required. Just sign in with your Twitter account and authorize the NinevehGL Forum.
  2. Once you’re in, you'll be able to "Follow a Thread", that means every time that thread receive a new post or update you'll receive a mention on your twitter.
  3. Besides, you can enable "Auto Share", then every new post and/or thread you make will be tweeted on your timeline. (By default, auto-share is enabled only for your threads)

Forum Rules:

1. We understand human comunication can become "hot" sometimes. So some insults and bad words ARE allowed. Just don't push too much being an asshole all the time.

2. SPAMMERS are not allowed. There are penalties for this kind of user and they can be banned forever.

3. You can report other users, if you judge necessary. An user reported many times by many people can also be banned forever. However you can also receive penalties for report deliberately for no apparent reason.

If there is a similar thread title, make sure the other one doesn't already have the answer you're looking for.

This forum uses the BBCode (Bulletin Board Code), here are some instructions:

Bold: [b]text[/b]
Italic: [i]text[/i]
Underline: [u]text[/u]

Code: [code]text[/code]
Quote:
[quote=@username]text[/quote]
[quote]text[/quote]

List:
[ul] [*]item [/ul]
[ol] [*]item [/ol]

URL:
[url]http://url.com[/url]
[url=http://url.com]text[/url]

Image:
[img]http://imageurl.com[/img]

Embed (videos, code, 3D):
[embed]http://url.com[/embed]

Welcome to the NinevehGL's world!
NinevehGL is a 3D engine forged with pure Obj-C.
Welcome to the
Forum!
Hello, Guest.

Your current vote:

You can change your vote many times. But it's still one single vote.

Memory leaks?
Vote this thread:


@mrahmalevich

Posts: 12

NGLNewbie

Mon, Nov 26 2012


Hello,

In my project I have to load large amount of models. Not at the same time, but I need to load several meshes, unload them, load new ones, etc. So, I faced with lack of memory and made some investigation.

I've attached simple project containing two controllers: first is the root controller, and second is controller with NGLView. Controller with NGLView presenting modally and seems that memory leaks after it's deallocating.

I've recorded profiling of this app's allocations:
http://screencast.com/t/EBs5QEHs

And that's my sample project:
https://dl.dropbox.com/u/81021803/test_ngl_memory.zip

Can you please tell me what I'm making wrong? Or explain me this situation and advice the way to free memory?

Anyway, thank you for your job on NinevehGL, this is really cool and simple engine, I like to use it. And sorry for my bad English
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Mon, Nov 26 2012


In response to: @mrahmalevich

Hello buddy,

OK, this is a known issue, it'll fixed in the next release, which will happen in Dec.
0% like this - 0/0

@mrahmalevich

Posts: 12

NGLNewbie

Mon, Nov 26 2012


In response to: @dineybomfim

Thanks a lot for fast response! And great news about next release, glad to hear it
Is there any workaround for this situation now? Or the only way is to wait for release?
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Tue, Nov 27 2012


In response to: @mrahmalevich

Unfortunately just wait for the release.

I suggest you to instantiate the objects using Multiton Design Pattern instead of allcating and deallocating the instances everytime you click on your button.

BTW, this approach is better when you must to create large and complex meshes.
0% like this - 0/0
Technology

NinevehGL is a 3D engine built right on top of OpenGL ES and it uses all the programmable pipeline power, making it easy for you to create great application with shaders.

Share on


Follow NinevehGL
Fastest way to contact us:

Copyright © 2011 db-in. All rights reserved.