Re: [info-performer] memory management in loaders; DCS limit?

Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 11/10/2003 19:15:31


Hi Benjamin,

would it be possible for you to send us a small sample program that
demonstrates the problem you are having with building many pfDCSs?

On which platform(s) are you having this problem?

Thank you very much,
Paolo

Benjamin Chang wrote:

>hi,
>
>can anyone give me some pointers on correct memory management practices in C++
>when writing a loader? when i use my loader with perfly it sometimes segfaults
>on medium-sized objects (>200K polys); i am weak and sloppy from years of java &
>such, so any guidelines would be much appreciated.
>
>on a related note: i also get a freeze when building more than about 70 DCS's.
>everything loads and perfly starts, but gets a black screen w/o the GUI. this
>happens even when the geometry is minimal, one poly in each DCS. loading an
>object with an equivalent or greater number of polys but just one DCS causes no
>problems.
>
>i've noticed a similar behavior in larger apps too, where after loading many
>objects the app freezes black. it's happened with the obj and iv loaders as
>well as the one i'm writing.
>
>converting the objects to .pfb format solves the problem, but i'm still curious
>about why this happens.
>
>thanks,
>
>
>
>
>

-- 
Paolo Farinelli                                           paolo++at++sgi.com
Member of Technical Staff, OpenGL Performer              1-650-933-1808
Silicon Graphics        1600 Amphitheatre Pkwy, Mountain View, CA 94043


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Nov 10 2003 - 19:16:15 PST