~/talk

I bet you have a permgen leak in your application

Talkat JavaDay 2013 · on Saturday, 2013-10-19· [java]
slides:none on file

Claims class loader leaks appear in almost every app (quoted as 99.9%), and a tiny three‑page app yields five different leaks during debugging. Uses Eclipse MAT and a homegrown tool Plombir to find four reported leaks in a live demo. Fixes include upgrading JDBC drivers, calling DriverManager deregister, closing pooled datasources, avoiding long‑living ThreadLocal entries, setting datasource flags to stop driver registration, or upgrading Java 6→7 to eliminate several root causes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17What is a class loader leak
  3. 2:21Permgen constant generation
  4. 5:55Why leaks happen
  5. 9:10PLOMBIR app case
  6. 10:16First leak found
  7. 13:41PLOMBIR demo
  8. 16:11Driver leak fix
  9. 18:46Detecting the problem
  10. 21:04Bouncy Castle issue
  11. 22:35Unclosed resources
  12. 24:01Resource cleanup rule
  13. 25:11App restart causes
  14. 26:28Class loader leak demo
  15. 28:16Unknown leak cause
  16. 28:59Java 7 upgrade
  17. 30:34Why update Java
  18. 31:42Class loaders and threads
  19. 32:40JDBC driver leak
  20. 36:38Manual leak search
  21. 38:32Automatic leak detection
  22. 39:13Custom logger issues
  23. 41:24ThreadLocal misuse
  24. 43:06JBoss and loggers
  25. 43:50Five bad Java features
  26. 45:17ThreadLocal problem
  27. 45:57Final client report
  28. 47:54Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.