Memory Leak

Autodesk Softimage XSI (Developed by Face)
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

I already sent Face a PM, but now I think the crashing during animation renders has a different cause. There seems to be some sort of memory leak.

Whenever a frame renders, the task manager shows roughly the same amount of RAM usage for both Octane and XSI:
Image

However, the amount of committed memory keeps on increasing throughout the render and with every frame:
Image

I think this memory leak actually occurs in XSI because the amount of committed memory only goes down by about 500 MB whenever Octane closes. After frame 12, I hit Cancel on the Render. The memory amount was 6,000 MB with Softimage still open. Closing Softimage brought this down to 1,200 MB.

I've never seen this kind of behavior in Softimage, so I assume it has something to do with the plugin? It causes the render to crash after about a dozen frames on my system.
User avatar
Amplitude
Licensed Customer
Posts: 246
Joined: Sat May 01, 2010 1:10 pm
Location: Bordeaux, France
Contact:

thank you for the insight Chris, I've seen something similar happening to my rig.
I also had a very large page file (like 16gb) after a 60 frames animation has been rendered.
Win7 Pro x64 | GTX 770 2GB + GTS250 512Mb | Intel Xeon i7 4x 3.4ghz | 16 GB ECC Mem | Intel SSD 520 | Dell 27"
SOFTIMAGE l 2011 + OCTANE V1.20
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

My Windows 7 was set to automatically manage the pagefile, and apparently it wouldn't go beyond a certain value.

I have now manually set the pagefile size to go up to 15 GB, and I'm currently rendering frame 22 without a crash. However, the memory consumption is at 10GB/11GB, and obviously it keeps increasing. When it hits 15 GB it'll probably crash.
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

Yup, I can now confirm that everything hinges on the pagefile.
If I allow it to get really, really big the animation keeps rendering without any crashes. Memory consumption is now almost 30 GB, the render keeps going and the pagefiles keep growing.
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Which kind of scene you want to render?
Models, meshes, pointclouds or mixed?

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
El Burritoh
Licensed Customer
Posts: 55
Joined: Fri Jun 11, 2010 12:30 am
Location: Tennessee
Contact:

Does this behavior occur with XSI open, but Octane rendering a scene brought in manually instead of with the plug-in?
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

face wrote:Which kind of scene you want to render?
Models, meshes, pointclouds or mixed?
The scene contains a pointcloud, but it's hidden and doesn't export. Everything that exports is just a polygon mesh.
El Burritoh wrote:Does this behavior occur with XSI open, but Octane rendering a scene brought in manually instead of with the plug-in?
No. The leak does appear to occur in XSI because all that committed memory is only freed up once I close XSI.
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Hm, i can´t confirm that...
I have exported a 250MB mesh (~3mio tris) a couple of times and it works.

When anyone can send me his scene to test, it would be nice.

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Hm...
As i wrote, i haven´t the leak and without your help, i can´t reproduce it.
Also tell me what should i do now?

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

Well, here's a simplified example scene. Render the animation, and you can literally watch your pagefile grow and grow and grow. It doesn't grow as fast as my full animation with additional geometry. But if you render 20 or 30 frames you should see a huge difference in memory consumption between frame 1 and frame 30.
Attachments
mem_leak.zip
Mem_leak SCN + OCS
(147.16 KiB) Downloaded 413 times
Post Reply

Return to “Autodesk Softimage XSI”