Hi Charlin, Win32 error code 8 is ERROR_NOT_ENOUGH_MEMORY [1]. Please make sure your system has some free RAM before starting Ignite.
[1] https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- On Thu, Jul 22, 2021 at 8:56 AM Charlin S <[email protected]> wrote: > Hi, > I'm getting an exception while starting to ignite an exception log file > that filled up my memory. > System.InvalidOperationException: FlsAlloc failed: 8 > at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedThread.SetThreadExitCallback(IntPtr > callbackPtr) > at Apache.Ignite.Core.Impl.Unmanaged.Jni.Jvm..ctor(IntPtr jvmPtr) > at Apache.Ignite.Core.Impl.Unmanaged.Jni.Jvm.GetOrCreate(IList`1 > options) > at > Apache.Ignite.Core.Impl.IgniteManager.CreateJvmContext(IgniteConfiguration > cfg, ILogger log) > at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg) > > The c# code is below: > IgniteConfiguration igniteGridIg = new IgniteConfiguration(); > igniteGridIg.AutoGenerateIgniteInstanceName = true; > igniteGridIg.SpringConfigUrl = Path.Combine(directoryName, > xmlbean.xml); > igniteGridIg.ConsistentId = > Guid.NewGuid().ToString().ToUpper(); > igniteGridIg.Localhost = ""; > while (InstanceObject == null) > { > try > { > InstanceObject = Ignition.Start(igniteGridIg); > } > catch (Exception ex).. > { > logContextInfo.ErrorLogger(ex); > } > } > > Thanks, > Charlin > > >
