Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~/c/boot-pod-pool-leak set -x BOOT_JVM_OPTIONS "-Xmx100m -client -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -XX:MaxMetaspaceSize=200m"
~/c/boot-pod-pool-leak ./pod-loopNew pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@52525845
Hi from pod no. 0.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@543788f3
Hi from pod no. 1.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@44a3ec6b
Hi from pod no. 2.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@61ca2dfa
Hi from pod no. 3.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@1068e947
Hi from pod no. 4.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@b9afc07
Hi from pod no. 5.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@543e710e
Hi from pod no. 6.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@43d7741f
Hi from pod no. 7.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@48a242ce
Hi from pod no. 8.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@51b279c9
Hi from pod no. 9.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@2473b9ce
Hi from pod no. 10.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@17695df3
Hi from pod no. 11.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@2df32bf7
Hi from pod no. 12.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@74294adb
Hi from pod no. 13.
New pod taken: org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl@166fa74d
Exception in thread "Thread-3" java.lang.OutOfMemoryError: Metaspace
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at clojure.core__init.load(Unknown Source)
at clojure.core__init.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2154)
at clojure.lang.RT.classForName(RT.java:2163)
at clojure.lang.RT.loadClassForName(RT.java:2182)
at clojure.lang.RT.load(RT.java:436)
at clojure.lang.RT.load(RT.java:412)
at clojure.lang.RT.doInit(RT.java:454)
at clojure.lang.RT.<clinit>(RT.java:330)
at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.init(ClojureRuntimeShimImpl.java:15)
at org.projectodd.shimdandy.ClojureRuntimeShim.newRuntime(ClojureRuntimeShim.java:26)
at org.projectodd.shimdandy.ClojureRuntimeShim.newRuntime(ClojureRuntimeShim.java:32)
at boot.App.newShim(App.java:154)
at boot.pod$make_pod.invoke(pod.clj:469)
at boot.pod$pod_pool$fn__1520.invoke(pod.clj:511)
at boot.pod$lifecycle_pool$fill__1483.invoke(pod.clj:419)
at clojure.lang.AFn.run(AFn.java:22)
at java.lang.Thread.run(Thread.java:745)
Hi from pod no. 14.
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment