It failed on this line:
            Ignition.Start(new IgniteConfiguration
            {
                //Logger = new Apache.Ignite.Core.Log.ConsoleLogger {
MinLevel = Apache.Ignite.Core.Log.LogLevel.Trace },
                //JvmOptions = new[]
                //{
                //    "-Xms512m",    // Minimum heap size
                //    "-Xmx2g",      // Maximum heap size
                //    "-XX:+UseG1GC" // Use Garbage-First GC
                //},
                IgniteHome = "C:\\ApacheIgnite\\apache-ignite-2.16.0-bin"
            });

My whole code:

        protected override async Task ExecuteAsync(CancellationToken
stoppingToken)
        {
            if (_logger.IsEnabled(logLevel: LogLevel.Information))
            {
                _logger.LogInformation("Starting Ignite...");
            }

            Ignition.Start(new IgniteConfiguration
            {
                //Logger = new Apache.Ignite.Core.Log.ConsoleLogger {
MinLevel = Apache.Ignite.Core.Log.LogLevel.Trace },
                //JvmOptions = new[]
                //{
                //    "-Xms512m",    // Minimum heap size
                //    "-Xmx2g",      // Maximum heap size
                //    "-XX:+UseG1GC" // Use Garbage-First GC
                //},
                IgniteHome = "C:\\ApacheIgnite\\apache-ignite-2.16.0-bin"
            });

            _logger.LogInformation("Ignite started.");

            while (!stoppingToken.IsCancellationRequested)
            {
                if (_logger.IsEnabled(LogLevel.Information))
                {
                    _logger.LogInformation("Worker running at: {time}",
DateTimeOffset.Now);
                }

                await Task.Delay(60 * 1000, stoppingToken);
            }
        }


On Wed, Nov 20, 2024 at 4:58 PM Pavel Tupitsyn <ptupit...@apache.org> wrote:

> Does it fail during node startup? Can you prepare a minimal reproducer?
>
> I've tried Ignite on .NET 9 and it works for me (node startup, cache
> operations, queries, LINQ).
>
> On Wed, Nov 20, 2024 at 3:31 PM Ozgur Nevres <ozgur.nev...@gmail.com>
> wrote:
>
>> I mean, yes, nothing else has changed
>> It's working with no issues when I revert it back to .net 8
>>
>> On Wed, Nov 20, 2024 at 4:26 PM Ozgur Nevres <ozgur.nev...@gmail.com>
>> wrote:
>>
>>> -> Yes! And I reverted it back to 8.0 and now it's working.
>>>
>>> On Wed, Nov 20, 2024 at 4:21 PM Mikael <mikael.arons...@gmail.com>
>>> wrote:
>>>
>>>> Hi!
>>>>
>>>> Not sure, there is no error in the output itself, the returned value is
>>>> 0xC0000409, that is a buffer overrun exception, so it worked fine
>>>> before
>>>> you upgraded to .NET 9, nothing else has changed ?
>>>>
>>>> Mikael
>>>>
>>>> On 2024-11-20 14:13, Ozgur Nevres wrote:
>>>> > How can I fix this? Here is the log:
>>>> >
>>>> >  Trying to load jvm.dll from
>>>> > [option=HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime
>>>> > Environment\1.8, path=C:\Program
>>>> > Files\Java\jre1.8.0_431\bin\server\jvm.dll]...
>>>> > [16:09:36] [Debug] [] jvm.dll successfully loaded from
>>>> > [option=HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime
>>>> > Environment\1.8, path=C:\Program
>>>> > Files\Java\jre1.8.0_431\bin\server\jvm.dll]
>>>> > [16:09:36] [Debug] [] IgniteHome retrieved from IGNITE_HOME
>>>> > environment variable: 'C:\ApacheIgnite\apache-ignite-2.16.0-bin'
>>>> > [16:09:36] [Debug] [] IGNITE_HOME resolved to:
>>>> > C:\ApacheIgnite\apache-ignite-2.16.0-bin
>>>> > [16:09:36] [Debug] [] Classpath resolved to:
>>>> >
>>>> C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\annotations-16.0.3.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\cache-api-1.0.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-core-2.16.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-control-utility\ignite-control-utility-2.16.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\commons-codec-1.16.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\h2-1.4.197.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\ignite-indexing-2.16.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\lucene-analyzers-common-8.11.2.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\lucene-core-8.11.2.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-indexing\lucene-queryparser-8.11.2.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\commons-logging-1.1.1.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\ignite-spring-2.16.0.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-aop-5.2.25.RELEASE.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-beans-5.2.25.RELEASE.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-context-5.2.25.RELEASE.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-core-5.2.25.RELEASE.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-expression-5.2.25.RELEASE.jar;C:\ApacheIgnite\apache-ignite-2.16.0-bin\libs\ignite-spring\spring-jcl-5.2.25.RELEASE.jar;
>>>> >
>>>> >
>>>> C:\Users\ozgur\source\repos\EarnAds\Earnado.IgniteCacheService\bin\Debug\net9.0\Earnado.IgniteCacheService.exe
>>>>
>>>> > (process 7692) exited with code -1073740791 (0xc0000409).
>>>>
>>>

Reply via email to