slow java

Hi,

I have a number of programs that run java which are very slow, but only when the program is listing the current directory i.e. I want to open a file, I do file open, and then the javaw.exe fully utilises the processor for a number of minutes before being able to list the directory.

Does anyone know what might be causing this problem?

My computer is running xp 64 bit.

Cheers

Dave

[422 byte] By [magnatoma] at [2007-11-26 13:03:15]
# 1
I suggest that you try to do some code profiling and locate what is slow. Without that information it's not likely that you'll get any valid assistance.Sun's NetBeans has a good profiler, and ther are others.
ChuckBinga at 2007-7-7 17:07:33 > top of Java-index,Desktop,Developing for the Desktop...