Jump to content
Sign in to follow this  
Mattheng

Out of Memory bug on OpenGL Animation

Recommended Posts

This is starting to be pretty annoying?

VW 2014 is a lot better at OpenGL than all previous versions, as the official feature list says.

I am a bit of a fan of animations and always used to use OpenGL because it was so fast, even though the quality suffered compared to Renderworks.

I have tried on numerous occasions to put together an animation in VW 2014 and after, at most, 200 frames I get the dreaded out of memory warning and a big crash after which the file will not save.

Why?

It doesn't happen on any Renderworks mode or Wireframe and would make an enormous difference to my workflow.

Fast Renderworks vs OpenGL is something like a factor of 20 - 40 times faster. Meaning hours rather than days for an animation.

Can anyone help?

Matt

Share this post


Link to post

Does it always happen in any file, or just the one you're working with currently?

If you create a simple test with a few spheres or something similar and create an OpenGL animation from that, does it always hit OOM at ~200 frames?

Share this post


Link to post

Aha!

I ran a test on an old White Macbook with no discrete graphics card and it flew through a couple of thousand frames without blinking.

After much head scratching I have worked out why.

The animation in Vectorworks creates the video at exactly the screen resolution and size of the open window in Vectorworks.

i.e. if I shrink the Vectorworks window down and then create an animation I get a small video on playback.

I was working on a 27inch iMac, running the Vectorworks window to fill up the screen and 2560 * 1440 was just too big.

I could either:

a) manually shrink the screen but that would just be guesswork and could take a while each time OR

b) change the resolution of my screen.

After much tinkering it seems 1600 * 900 with the VW window maximised for a landscape A3 (Ledger for my American friends) is the best you can get before the memory death spiral begins

It doesn't seem to have much to do with render quality or even shadows but I haven't done too much experimenting yet.

So I have an answer but would it be possible to just input something to say you would like 1080p output regardless of the screen resolution?

Matt

Share this post


Link to post

That makes perfect sense. Excellent test work, thank you.

Submitting a few requests now, specifically resolution control.

Edited by JimW

Share this post


Link to post

Jim - In this concept for resolution control, can Vectorworks "look ahead" (prior to running the command) in the create animation dialog and offer feedback for a successful run?

Examples:

Maximum allowed resolution for this animation is ______.

or

Maximum frame size for this animation is AxB.

-B

Share this post


Link to post

I agree that would be useful. However, I'm thinking that once the memory issue is resolved, such a look ahead will not be necessary, and I know the fix for the memory issue is approaching rapidly.

Submitting it regardless, in case I am cataclysmically wrong!

Edited by JimW

Share this post


Link to post

An SP fix for this Jim would garner a whole ton of support from the base.

An out of memory bug that we're seeing just doesn't happen with other software - and VW is out in the cold when it comes to crashes.

I do hope those at the helm realize the credibility benefit in seeing this as an SP necessity rather than an upgrade carrot.

Share this post


Link to post

Hope improved performance as a result of the OOM fix is not touted as a new "feature"

Share this post


Link to post

Not sure how they intend to handle it yet, but I will make sure this thread is seen by the right eyes.

Share this post


Link to post

Thanks Jim,

And to be candid - your presence here on the boards since the VW2014 release is one of most important (if not the most important) improvements I've seen in the VW environment in years.

Share this post


Link to post
Thanks Jim,

And to be candid - your presence here on the boards since the VW2014 release is the one of most important (if not the most important) improvements I've seen in the VW environment in years.

+1

Share this post


Link to post

I appreciate that, thank you.

My pull is limited but I will keep doing all that I can.

Share this post


Link to post

Not sure if I should start a new thread with this but I have also found that the classes settings when performing an animation all seem to be set by the view that you have open when you start the animation.

e.g. if I have lights turned off in the view on screen, when I start the animation, if they are turned on in the saved views used in the animation, they stay turned off?.

And as a final point, how many point lights can you have on at any one time?

I have a total of 14 in the model and above about seven on at once they start turning themselves off as the graphics card can no longer cope.

Or at least that's what it appears??

Matt

Share this post


Link to post

In OpenGL you are only able to have 8 light sources of any kind on at a time.

Share this post


Link to post

I just bought a Mac Pro and installed VW 2014 on it. I tried to render a drawing in OpenGL and Fast Renderworks and it gave me the "Out of Memory' error message in both cases. I have 32GB of memory and the activity monitor was showing 13GB when I got the message. This same file was fine in VW 2012 rendering mode on my iMac which only has 8GB of memory.

Could it be the Renderworks App itself rather than the memory?

Share this post


Link to post

Out of memory error messages are driving all users mad, it's a problem with the software and they are apparently peddling fast to update with the times.

Share this post


Link to post

There is much peddling occurring as we speak.

The error you are getting isn't actually your machine running out of memory, just Vectorworks hitting the maximum memory it is capable of using at the moment. If you like, send us the file at tech@vectorworks.net and we can see if there is any way to get it rendering for you currently.

Share this post


Link to post

It isn't urgent. I was just testing a large file on my new Mac Pro. The file was 500 MB. Is there a workaround?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×