CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Paraview 4.3.1 crashes when saving animation due to a memory leak

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Suslik

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2015, 19:38
Default Paraview 4.3.1 crashes when saving animation due to a memory leak
  #1
New Member
 
Join Date: Aug 2015
Posts: 2
Rep Power: 0
Suslik is on a distinguished road
So I'm making an animation that's about 130 frames long under windows(i'm currently at windows 10, but it seemed to be the same under 7 and 8). It does process the first ~50 frames correctly and paraview.exe consumes about 1-1.5Gb of RAM at this point without any major fluctuations or steady increase. And then suddenly in matter of seconds memory consumption spikes to 13Gb, my machine runs out of memory and paraview crashes miserably with bad_alloc exception.

It is an old problem because it happened in previous versions as well but I managed to somehow work around this problem before(changing video size, frame skip, etc). However now nothing seems to work and it reliably crashes.

Dataset I'm working on is about 2Gb so posting it does not seem like a bright idea. But the problem is not related to this particular dataset because it happened a lot before with different datasets as well.

I've tried googling some workarounds that suggested turning off geometry caching but it was already turned off(probably from previous attempts). Turning on/off compression seems irrelevant as well.

At this point I just need a workaround to make the video. Does anyone have a piece of advice what to try?
Suslik is offline   Reply With Quote

Old   August 12, 2015, 21:04
Default
  #2
New Member
 
Join Date: Aug 2015
Posts: 2
Rep Power: 0
Suslik is on a distinguished road
Ok it turned out that the problem is not with video, but with image saving routine as well. If I try to export animation as a sequence of images it gets stuck around the same frame as when I'm exporting a video(around frame 50-70, number seems to depend on image resolution).

So at least I've come up with a workaround: if I cannot process the whole video, I'll make a sequence of 60-70 images, crash and then make the rest 50-60(I have 120 all in all). Then I'll combine them into a video with a third party tool like VirtualDub.
wyldckat likes this.
Suslik is offline   Reply With Quote

Reply

Tags
memory leak, paraview, save animation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to do particle tracking animation with Paraview? John.I ParaView 3 June 24, 2015 10:45
[OpenFOAM] plot particles and animation in paraview phsieh2005 ParaView 1 July 26, 2013 06:35
[General] Paraview nice animation PyGloo ParaView 4 June 7, 2012 13:34
[OpenFOAM] FoamToVTK Animation with Paraview 3 podallaire ParaView 5 October 9, 2007 08:26
[General] Animation in Paraview. Mahesh ParaView 1 September 5, 2006 07:43


All times are GMT -4. The time now is 04:17.