Ryan Wang 👍 2024-04-24T21:11:59.668+08:00 INFO 7 --- [scheduling-1] r.h.a.s.a.login.impl.RsaKeyService : Generating RSA keys...
2024-04-24T21:12:47.451+08:00 ERROR 7 --- [scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task
java.lang.OutOfMemoryError: Java heap space
at java.base/java.math.BigInteger.shiftRightImpl(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.shiftRight(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.lucasLehmerSequence(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.passesLucasLehmer(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.primeToCertainty(Unknown Source) ~[na:na]
at java.base/java.math.BitSieve.retrieve(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.largePrime(Unknown Source) ~[na:na]
at java.base/java.math.BigInteger.probablePrime(Unknown Source) ~[na:na]
at java.base/sun.security.rsa.RSAKeyPairGenerator.generateKeyPair(Unknown Source) ~[na:na]
at java.base/sun.security.rsa.RSAKeyPairGenerator$Legacy.generateKeyPair(Unknown Source) ~[na:na]
at java.base/java.security.KeyPairGenerator$Delegate.generateKeyPair(Unknown Source) ~[na:na]
at run.halo.app.security.authentication.login.impl.RsaKeyService.generateKeys(RsaKeyService.java:56) ~[classes/:2.14.0]
at run.halo.app.security.authentication.login.RsaKeyScheduledGenerator.scheduleGeneration(RsaKeyScheduledGenerator.java:23) ~[classes/:2.14.0]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.5.jar:6.1.5]
at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.5.jar:6.1.5]
at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.12.4.jar:1.12.4]
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.5.jar:6.1.5]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.5.jar:6.1.5]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
帮忙看一下是这个么