You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
import message_iximport ixmp as ixfrom ixmp import Scenariofrom message_ix import make_df#from functions.format_demand import format_demandimport pandas as pdfrom pathlib import Pathfrom message_ix.reporting import Reporterfrom update_units import unit_correctionimport numpy as np# Stand-alone modelmodelName = 'MESSAGEix_CA_Hydrogen' # A MESSAGE model namescenarioName = 'Carbon Price' # A MESSAGE model scenario namessp = 'SSP1'mp = ix.Platform(name="p1")# Creating a new MESSAGE stand-alone modelmsg = message_ix.Scenario(mp, modelName, scenarioName,version='new', annotation='')
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.
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)
The text was updated successfully, but these errors were encountered: