My program is a web crawler and its been stuck on a URL that apparently corresponds to a random Chinese site. For some reason its not throwing an exception and the connection is not timing out. I would have thought that these lines would prevent that.
static URLConnection in;
in = curURL.openConnection();
in.setConnectTimeout(2000);
pageSource = new StreamedSource(in);
I'm nearly positive this is the issue, any checks on the heap dump for memory leaks turned up nothing.