From: Brian W. <bwe...@xb...> - 2002-11-11 20:57:08
|
On Mon, 11 Nov 2002, Enrico Fustinoni wrote: > Once again, I renew my compliments for dnsJava and hits improvements. > I'm performing some test, so I wrote e program that finds the > authoritative name server for a set of domains. > After 45108 DNS query on different domains in about 4.5 hours the > program stop with a java.lang.outOfMemoryError. > I started the java virtual machine with java -Xmx100000000 -Xss10000000. > > After looking the code, I think that this problem is due to an excessive > use of memory from the cache class. What version of dnsjava? 1.3.0 uses a lot less memory than 1.2.4, and is better about removing expired data. > Is this possible? Is there anything I can do to solve this problem? If you're using 1.2.4, upgrade. If you're using 1.3.0, I'm not really sure. Brian |