You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using gganimate for the first time and I am using in to render a generative art animation. My large gganim object is 12.5 MB in size and animate() has been running for about 30 minutes.
Does it take too long to render a 12.5 MB output? How can speed up the process?
Reference code here.
Edit:
Code ran for about 50 minutes and then gave this error: Error: vector memory exhausted (limit reached?)
The text was updated successfully, but these errors were encountered:
it very much depends. The way gganimate works under the hood is that it generates all the data for all the frames before beginning to plot it. This is often a good idea for short data animations as it leverages Rs vectorisation but it completely falls apart for longer animations with larger data as the data expansion can eat away the memory.
For now there is no way around this making gganimate not practical for some purposes
I am using gganimate for the first time and I am using in to render a generative art animation. My large gganim object is 12.5 MB in size and
animate()
has been running for about 30 minutes.Does it take too long to render a 12.5 MB output? How can speed up the process?
Reference code here.
Edit:
Code ran for about 50 minutes and then gave this error:
Error: vector memory exhausted (limit reached?)
The text was updated successfully, but these errors were encountered: