• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 19, 2024, 12:50:32 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - rdoila.a

1
Programming of KonaKart / OOM when hot redeploy
August 27, 2018, 02:12:07 pm
I'm doing some redeployment while developing the front end and after some redeployment I get out of memory, most probably caused by the following:


KonaKart V8.8.1.0-C0 () built 11:04AM 31-Jan-2018 GMT [DB: 8.8.1.0 MySQL]

Aug 27, 2018 2:03:11 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive [/opt/konakart/webapps/store.war] has finished in [3,358] ms
Aug 27, 2018 2:51:48 PM org.apache.catalina.startup.HostConfig undeploy
INFO: Undeploying context [/store]
KKEngInitialization destroyed
Aug 27, 2018 2:51:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
WARNING: The web application [store] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Aug 27, 2018 2:51:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
WARNING: The web application [store] appears to have started a thread named [Log4j2-TF-4-Scheduled-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)