GarbageCollectState seems to not work properly

Bug #1021053 reported by Jairo Henrique
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Panda3D
Expired
Undecided
Unassigned

Bug Description

So, I'm experimenting some weird behavior.
If I load a handful of models, flatten them out, and call removeNode (simulating the end of a level, for instance) the framerate doesn't come back to the original.

It's weird because much of the time spent after is in GarbageCollectState (precisely on the Transform phase).
http://img339.imageshack.us/img339/949/capturadetela2i.png

So if I disable that option (garbage-collect-states #f) on the config.prc I get the full framerate back again.
I'll edit with some code later but it's just loading, flattening, removing.

Revision history for this message
rdb (rdb) wrote :

Please update with a test case.

Changed in panda3d:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Panda3D because there has been no activity for 60 days.]

Changed in panda3d:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.