RE: Continguous Memory Woes

Date : Tue, 21 Feb 2006 21:16:22 +0000
To : XSI(at)Softimage.COM
From : "brad" <brad(at)cg-soup.com>
Subject : RE: Continguous Memory Woes
The two areas may be related after all. Any chance your imported models have plotted Action Sources living on them? 1000 frame plots, especially for non-raw fcurves take up a LOT of memory. (Someone from Soft should definitely check my math):

RAW:
For raw fcurve data, per keypoint it's 2 units of data: time(x) and value(y). Let's assume each unit of data is stored as a double precision, which takes up 8-bits of memory:

1) 1 raw key = 16 bits
2) 24 keys per sec = 384 bits
3) 6 channels (rot and pos) per node = 2.25kb per node second
*60 seconds for a 50 node rig (the default xsi biped rig) ~ 6.59Mb

STANDARD:
Each keypoint has many data values: 8 floats (Left, Right, LtanX, LtanY, RTanX, RTanY,Value, Time), 1 int(constraint)

1) 1 standard key = 68 bits
2) 24 keys per sec = 1.59Kb
3) 6 channels per node = 9.56Kb per node second
**60 seconds for a 50 node rig ~ 28Mb


>  -------Original Message-------
>  Actually Brad,
>  
>  That's another big problem I;m having. The clips are long sequences, usually over a thousand frames.  I'm being lazy by not editing the usful mocap section, but time restraints deny me that option.
>  
>  I was wondering if batch was an option, and we have already considered opening up a scene for every time we plot an action source.
>  
>  I was thinking that plotting to raw instead of spline interporaltion might also save memory.
>  
>  But getting back to this issue Im having, it has nothing to do with runing scripts or plotting.  Just importing about 8 characters into a scene and when I get to character number 5, the Contiguous memory issue raises it's ugly head.
>  
>  AD
>  
>  -----Original Message-----
>  From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of brad
>  Sent: Tuesday, February 21, 2006 2:35 PM
>  To: XSI(at)Softimage.COM
>  Subject: RE: Continguous Memory Woes
>  
>  Is this happening while you are plotting long sequences? If so, it potentially isn't really any different from accidentally setting your subdivision level to 10, or doing a poly reduction op on a mesh with too many polys.
>  
>  Unless, it's happening when you are doing multiple, shorter plots in a row. Then that's a problem of memory not getting released.
>  
>  Worst case scenario, you can write your plot script to run in batch mode. That will free up the overhead from the GUI and probably run faster to boot. Also, you could open a new instance of XSI per plot if you need to. That would be slow, but as I always say... anything that works is faster than anything that doesn't.
>  
>  -Brad
>  
>  >  -------Original Message-------
>  >  I appreciate that Halfy,
>  >  
>  >  But my errors are also pretty hard to repro.
>  >  
>  >  Just wondering if anyone else had come across this issue to compre notes.
>  >  
>  >  Ad
>  >  
>  >  -----Original Message-----
>  >  From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
>  > Behalf Of Halfdan Ingvarsson
>  >  Sent: Tuesday, February 21, 2006 1:57 PM
>  >  To: XSI(at)Softimage.COM
>  >  Subject: RE: Continguous Memory Woes
>  >  
>  >  Without any details, it's hard to tell.
>  >  
>  >  - ½
>  >  
>  >  > -----Original Message-----
>  >  > From: owner-xsi(at)Softimage.COM
>  >  > [mailto:owner-xsi(at)Softimage.COM]On Behalf Of Andre DeAngelis  >
>  > Sent: Tuesday, 21 February, 2006 13:54  > To: XSI(at)Softimage.COM  >
>  > Subject: Continguous Memory Woes  >  >  > I am getting a spate of
>  > contiguous memory problems.  Importing models  > into a scene is
>  > creating them at the momemnt.  Saving he  > scene also.  I  > have
>  > also had the error pop up when moving keyframes in a dopesheet.
>  >  >
>  >  > Are these related to some memry leak in 5.01?
>  >  >
>  >  > AD
>  >  >
>  >  > ---
>  >  > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following  >
>  > text in body:
>  >  > unsubscribe xsi
>  >  >
>  >  
>  >  ---
>  >  Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
>  >  unsubscribe xsi
>  >  
>  >  ---
>  >  Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
>  >  unsubscribe xsi
>  >  
>  
>  ---
>  Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
>  unsubscribe xsi
>  
>  ---
>  Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
>  unsubscribe xsi
>  

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.