Jump to content
Geochemist's Workbench Support Forum
JohanFourie

number of kinetic minerals in GWB

Recommended Posts

Is there a limit to the number of kinetic mineral that could be added to X1t? We try to simluate a column but X2t does not accept more than ~16minerals?

Share this post


Link to post
Share on other sites

Hi,

We’re looking into this issue. There may be a limitation to the GUI imposed by Windows, but the calculation engine itself can handle any number of reactants. In the meantime, if you run X2t by entering commands into Gwb.exe (go to the support pane of the GWB dashboard), you shouldn’t experience the problem.

Regards,

Brian Farrell
Aqueous Solutions LLC
 

Share this post


Link to post
Share on other sites

Hi Johan,

We’ve looked into your problem. Unfortunately, there are some limitations imposed by the Windows OS. As I mentioned, you can bypass the GUI using Gwb.exe to include any number of reactants. Alternatively, you can try editing your registry to allow more user objects. The default Windows allows is 10000, but you can increase it to 18000. There’s still ultimately a limit, but you may be able to add almost twice as many reactants. The specific registry entry is: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota 

To edit your registry, type regedit into your Seach bar, then click to Run. Navigate from HKEY_LOCAL_MACHINE down to the various subfolders until you get to Windows, then right-click on USERProcessHandleQuota and select Modify. With the “Base” set to Decimal, enter 18000 for the “Value data:”, then hit OK. You’ll need to reboot your computer. After this, please try working with your script again. You should be able to add some more reactants. There will still ultimately be a limit, though.

We’re exploring options to make this work better in future releases. Please let us know if you have any more questions.

Regards,
Brian
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×