Opened 10 years ago

Last modified 10 years ago

#143 new defect

Creating many objects causes FieldContainerFactory::_pFieldContainerStore to exhaust memory

Reported by: cneumann Owned by: unassigned
Priority: major Milestone: 2.0 Beta
Component: System Version: 2.0
Keywords: Cc:

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 (1)

FieldContainerFactory_map_02.diff (7.0 KB) - added by cneumann 10 years ago.
patch (for OpenSG 1.x !) changes FCFactory to use a std::map for FieldContainerStore?

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by cneumann

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

comment:1 Changed 10 years ago 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.

Note: See TracTickets for help on using tickets.