|
[Sponsors] |
[OpenFOAM plus][3.0+] Memory behavior on windows installation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2016, 08:35 |
[OpenFOAM plus][3.0+] Memory behavior on windows installation
|
#1 |
New Member
Join Date: May 2016
Posts: 4
Rep Power: 10 |
Hello everyone,
I wanted to reach out to the community before submitting this issue as an official bug report. I'm using OpenFOAM v3.0+ for Windows, the precompiled version. I have observed two strange behaviors about the memory usage of the software: -> When a calculation is finished (job ended correctly with no errors), the memory is not released. The job seems to stay loaded in the RAM even if the processes are finished (not present when using the "top" command). -> I'm running an incompressible flow using simplified and there seems to be a memory leak. Whenever the computation hits a point where the computation is saved the memory usage increases a little. It doesn't seem to be case dependant as the 2D-airfoil also does it (you'd have to make the software write files every itérations to see it because it's such a small mesh) I'm using the normal off-the-shelf version with no personal modifications in it. In the Windows version valgrind is not installed and so I can't use that to identify where the leak is coming from Cheers for any help or information you can provide. |
|
August 20, 2016, 17:47 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: OpenFOAM+ on Windows is using a Docker virtual machine (VM) with Virtualbox. This means that the VM will start occupying RAM, until is reaches the maximum amount of RAM assigned to that VM.
This is normal to occur on the real machine's side with most virtualization software, such as Virtualbox. This makes the VM more efficient as it progresses, because it will not be constantly releasing and requesting RAM from the real machine, which would slow down execution. If you want to release RAM on the real machine, you will have to sign out from within the Docker session and stop the VM via Virtualbox's GUI. edit: I forgot to mention that the RAM that is used when saving, it's likely due to the internal cache mechanism used inside the VM. This is a standard feature in most operating systems and you're only noticing it because you're looking from outside of the VM
__________________
Last edited by wyldckat; August 24, 2016 at 07:01. Reason: see "edit:" | fixed a few typos |
|
Tags |
memory leak, memory usage, openfoam for windows |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
CFX CPU time & real time | Nick Strantzias | CFX | 8 | July 23, 2006 18:50 |
Windows Installation BugsComments on Petrbs patch | brooksmoses | OpenFOAM Installation | 48 | April 16, 2006 01:20 |
Windows Installation Petrbs Port Redux Patches and Binary Distribution | brooksmoses | OpenFOAM Installation | 0 | February 10, 2006 18:35 |
Memory stack-Fortran vs Windows XP | Mikel A. | Main CFD Forum | 5 | February 10, 2004 09:15 |