Skip to content

Instantly share code, notes, and snippets.

View titogeorge's full-sized avatar
🎯
Focusing

Tito George titogeorge

🎯
Focusing
  • Bangalore, India
  • 02:05 (UTC +05:30)
View GitHub Profile
@dpryden
dpryden / ClassLoaderLeakExample.java
Created October 20, 2014 00:01
Example of a ClassLoader leak in Java
import java.io.IOException;
import java.net.URLClassLoader;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.Path;
/**
* Example demonstrating a ClassLoader leak.
*
* <p>To see it in action, copy this file to a temp directory somewhere,