Loading Scenarios from Platform gets very slow over time #825
Replies: 3 comments 2 replies
-
Hi @brendandanaher, let's make this a new discussion since it's a new topic. |
Beta Was this translation helpful? Give feedback.
-
Thanks, @brendandanaher, for raising this issue. I wanted to mention this too. While using local databases and even modifying config.json, making new platforms (since it gets overloaded with local scenarios) over time, the scenario loading and ixmp sometimes take super long. |
Beta Was this translation helpful? Give feedback.
-
I do most of my work with IIASA's shared/central Oracle database server, so I don't often work with However, when I do, I usually do this:
The slow-down of the ixmp.JDBCBackend with large, local/HyperSQL databases is a known issue, iiasa/ixmp#433. See iiasa/ixmp#433 (comment) that I wrote ~2 years ago; this is still the current status. The above tactics/practices are just one (not the only) way to make use of the existing code that works around these limitations, and while we wait for an updated, Python-based backend that has better performance in these situations. |
Beta Was this translation helpful? Give feedback.
-
Thank you @khaeru. Modifying the config.json file worked very well for me at first. However, when running my code, over time it eventually gets slower and slower every time I re-initialize the scenario as seen in the following code block.
I've gotten to the point where it takes 20 minutes to run this simple segment of code (this took 30 seconds originally) and I have "jvmargs" set to -Xmx12G in my config.json file. If anyone has a solution to this issue that would be much appreciated. I have attempted clearing memory and temporary files etc with no success. Not sure what else I could try.
config.json
Originally posted by @brendandanaher in #694 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions