HEPL! GINA does not run on a 32-core CPU

Have a question about how to use GINA? Ask away.
Post Reply
oldgoat
Posts: 4
Joined: Fri Jul 19, 2019 2:52 am

HEPL! GINA does not run on a 32-core CPU

Post by oldgoat » Wed Mar 25, 2020 1:14 pm

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:
Gina_Cpu_overload.png
CPU Overload situation for GINA
Gina_Cpu_overload.png (47.74 KiB) Viewed 8565 times
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?

oldgoat
Posts: 4
Joined: Fri Jul 19, 2019 2:52 am

Re: HEPL! GINA does not run on a 32-core CPU

Post by oldgoat » Wed Mar 25, 2020 1:31 pm

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.

krushor
Posts: 8
Joined: Mon Aug 06, 2018 6:53 am

Re: HEPL! GINA does not run on a 32-core CPU

Post by krushor » Sat Mar 27, 2021 9:01 pm

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.

Post Reply