|
[Sponsors] |
Is the full text of an IOdictionary stored in RAM for the life of the object? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 3, 2015, 12:46 |
Is the full text of an IOdictionary stored in RAM for the life of the object?
|
#1 |
Member
Join Date: Aug 2015
Posts: 37
Rep Power: 11 |
I was mucking around in source files recently and I got the impression that IOdictionaries may be read into RAM once, at creation (assuming that the source dictionary file isn't changed during execution), and that all subsequent lookup operations are performed by parsing data from RAM, rather than disk. I didn't dig deep enough to be sure - can anyone confirm or deny this? I'm particularly curious whether this means that the full text of the dictionary is stored in RAM for the life of the object.
I'm concerned because I'm using a custom dictionary to store tabulated model data. The data file is about 300 MB in ASCII format - if this text is being held in RAM for the duration of my program, even after it's been parsed and the data has been read into a program-usable format, then this is a big waste. |
|
Tags |
dictionaries |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
engineFoam with layers - pressure problems when adding layers | mturcios777 | OpenFOAM Running, Solving & CFD | 23 | January 4, 2023 22:56 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |