Moving from VM to Kubernetes fails

Hi Forum

Well in my hunger for learning more - I’ve setup a little cluster at home, and would like to move my xwiki from the VM - to a kubernetes installation. - so absolutely still a newbie.
Created the xwiki instance on Kubernetes through the helm repo.

When I’m exporting the wiki from the old Wiki - its a file on 2.0 GiB (2,199,712,847 bytes) no issue shown while exporting the wiki.
But when trying to import it on my kubernetes - I’m uploading the file - and it uploads the file - but then crashing for some reason when its finished the upload, - that I havent figure out yet - just getting this notice in the bottom of the page
image

The Log shows this: 31-Jan-2024 08:01:02.220 WARNING [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [blocking-thread–p3-t1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(Unknown Source)
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1409)
java.base@17.0.10/java.lang.Thread.run(Unknown Source)

So its creating a memory leak
first thing - the storage for xwiki was only set for 500mb - so I can properly not get 2GB data to fit on this - resized the storage from 500mb to 4GB - and redeployed the Application - but still the same issue - As soon as it start importing the file - it’ll fail.

31-Jan-2024 08:01:02.221 WARNING [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [blocking-thread--p3-t2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@17.0.10/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
 org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1421)
 java.base@17.0.10/java.lang.Thread.run(Unknown Source)
31-Jan-2024 08:01:02.222 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4b63fc3f]) and a value of type [org.codehaus.plexus.classworlds.realm.ClassRealm] (value [ClassRealm[plexus.core, parent: null]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.224 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6ec16ed5]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@2b829bac]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.225 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@f2948a0]) and a value of type [org.restlet.ext.jaxrs.internal.core.MatchedInfo] (value [org.restlet.ext.jaxrs.internal.core.MatchedInfo@ac62c76]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.225 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6f944c3d]) and a value of type [org.restlet.ext.jaxrs.internal.core.MatchedInfo] (value [org.restlet.ext.jaxrs.internal.core.MatchedInfo@5074e598]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.226 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@15dddb7e]) and a value of type [org.restlet.ext.jaxrs.internal.core.MatchedInfo] (value [org.restlet.ext.jaxrs.internal.core.MatchedInfo@2ec3e02f]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.227 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@14d4d5ac]) and a value of type [com.google.javascript.jscomp.Tracer.ThreadTrace] (value []) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
31-Jan-2024 08:01:02.227 SEVERE [Thread-18] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@14d4d5ac]) and a value of type [com.google.javascript.jscomp.Tracer.ThreadTrace] (value []) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

Is there any other way I can import my old created Wiki - so I dont have to manually recreate all 200pages/artices I’ve created through time

Its the same if I trying it on ingress or directly to the tcp port available.

Q