New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tabular] Warn about tabular folder size #43
Comments
Touch files on read |
Maybe we should collect all issues in one place -> #262 |
I dunno, I think it is better to keep them as separate issues in general, On Tue, Feb 10, 2015 at 1:58 AM, Jorrit Wronski notifications@github.com
|
@jowr - Any thoughts on how best to implement this one? It's about time. Looks like it will be pretty easy to use zlib to compress the table files to about 30% of their original sizes, so that will reduce the pressure quite a bit. That said, it looks like if you build all fluids (p-h and p-T), and its about 20 MB/fluid, you are looking at 2.24 GB, which is quite a lot. And that's not even considering mixtures. Perhaps we error out if there are more than 1 GB of tables? Or something like that? And add a configuration key that you can set to over-ride this behavior? |
Sounds reasonable, but would that involve a check of the folder size each time you run CoolProp? We might not be able to get around that... I also noticed that @LeonardoPierobon had quite some issues with the old tables. I hope he shares his experience with us in written form soon... The essence is that we had to increase to matrix size to 300x300 because there were many cases with a faulty evaluation of transport properties. Since most of them were close to the two-phase domain, a robust check for that might as well do the job.
|
@jowr - I think configuration keys can be used to set the TTSE table size, we just need to be sure that we document this clearly. Default can stay at 200x200, and we can increase as needed. Changing the size causes a rebuild of the tables. For zlib, plan is to use miniz (https://code.google.com/p/miniz/) Sounds like a plan in terms of warnings/errors. That is pretty much what I had in mind. Now just need to figure out how to do cross-platform directory size in c++. Something like |
How about this one? http://www.cplusplus.com/forum/beginner/107265/ |
We conclude: Boost or command line call (http://stackoverflow.com/a/15497931) |
boost = command line = :( Overall command line is less :( I think. The dependencies for boost just On Mon, Feb 23, 2015 at 9:02 AM, Jorrit Wronski notifications@github.com
|
In the end, two painful recursive solutions, I think linux wins out this time. |
See #496 |
No description provided.
The text was updated successfully, but these errors were encountered: