Allen Bierbaum wrote:
> The issue we are seeing is that memory usage is increasing as if there
> were a memory leak, but the number of non-NULL field containers
> remains stable around 20-30K.  After reading up on it a bit, we are
> wondering if the virtual memory space is being fragmented.

Is it related to the amount of null-fc:s in the list? As that lists 
grows (with 4 bytes) for each new allocation, but never shrinks (for 
faster lookups, IIRC).

Perhaps implementing a 'garbage compaction' call on the fc-list would be 
a good idea, even if it'd only work locally at first? (The mapping could 
be communicatd over the network as well, of course, it'd just be a bit 
tricky to put in the framework.)

I know there was discussion on using a hash_map or something instead of 
a vector, but I can't remember if anyone tried that, and what the 
implications where. (To slow lookup perhaps?)

Anyway, you've been around OpenSG longer than I, so you've probably 
thought about that, right? :)

Cheers,
/Marcus


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to