Here is the error from event viewer:
Application: GINA.exe Framework Version: v4.0.30319 Description:
The process was terminated due to an unhandled exception.
Exception
Info: System.OverflowException at GimaSoft.Business.GINA.Configuration.set_ProcessorAffinity(Int64) at GimaSoft.Business.GINA.Configuration.LoadFromXml
]Workaround:
Since this is a click-once app, I had to rummage through the appdata folder to find the Gina.exe program. Once located, I could use a command-line tool to execute "Start /Affinity 1 gina.exe" which starts Gina but limits it to 1 CPU core.
I'm not sure if this is a .Net 4 issue, or if it is your program that fiddles with the CPU affinity, at any event, it looks like this:
Is there anything to be done about this? Or maybe is the source-code available so I can compile it over to a newer version of .Net?
HEPL! GINA does not run on a 32-core CPU
Re: HEPL! GINA does not run on a 32-core CPU
Replying to myself:
Once I managed to run GINA with a reduced set of cores (see workaround above) it seems like once I allocated just 4 CPU cores to GINA under the performance tab, and let it update itself, it now starts without immediately crashing.
Seems like 16 is the max number of threads Gina can handle
Might prove helpful to others.
Once I managed to run GINA with a reduced set of cores (see workaround above) it seems like once I allocated just 4 CPU cores to GINA under the performance tab, and let it update itself, it now starts without immediately crashing.
Seems like 16 is the max number of threads Gina can handle
Might prove helpful to others.
Re: HEPL! GINA does not run on a 32-core CPU
I have a post in bug reports. It explains how you can start gina via the start command in windows and specifiy sixteen or fewer cores and when the gui starts you can change it.
Re: HEPL! GINA does not run on a 32-core CPU
*undusting this* *cough cough*
Where dooes GINA store which cores are supposed to be used? Maybe it's easier to change the values which are set (or cleared) by the checkboxes.
Where dooes GINA store which cores are supposed to be used? Maybe it's easier to change the values which are set (or cleared) by the checkboxes.
Re: HEPL! GINA does not run on a 32-core CPU
Here's a nice description of setting processor affinity in Win10 or 11...
https://www.thewindowsclub.com/processo ... ty-windows
https://www.thewindowsclub.com/processo ... ty-windows
Re: HEPL! GINA does not run on a 32-core CPU
Replying to myself: I found the setting in the XML file.
Look for the "GINAConfig.xml" file. Open it with any text editor.
Search for "<ProcessorAffinity>{any numeric value}</ProcessorAffinity>".
Change the numeric value to any value up to (2^16 -1) which would mean CPU1 to CPU16. I recommend "4095" which will make GINA use CPU1 to CPU12.
If you want to make GINA use specific cores you either need to do the conversion for yourself or start with a value of "1" (only first core) and then set the cores in GINA's performance page.