Ticket #143 (new defect)

Opened 2 years ago

Last modified 2 years ago

Creating many objects causes FieldContainerFactory::_pFieldContainerStore to exhaust memory

Reported by: cneumann Assigned to: unassigned
Priority: major Milestone: 2.0 Beta
Component: System Version: 2.0
Keywords: Cc:
Completion:

Description

FieldContainerFactory uses a std::vector to store the created FCs. An application that creates many objects (or runs very long) causes this vector to grow huge with no chance of reclaiming that memory. This problem affects 1.x as well as 2.

See also users mailing list thread titled: "setMaterial memory…"

Attachments

FieldContainerFactory_map_02.diff (7.0 kB) - added by cneumann on 12/19/06 04:07:07.
patch (for OpenSG 1.x !) changes FCFactory to use a std::map for FieldContainerStore?

Change History

12/19/06 04:07:07 changed by cneumann

  • attachment FieldContainerFactory_map_02.diff added.

patch (for OpenSG 1.x !) changes FCFactory to use a std::map for FieldContainerStore?

01/31/07 19:27:21 changed by dirk

  • version changed from 1.8 to 2.0.

So far this has only happened in pathological cases. I would move it to 2 and think about it there.