Extremely poor Java performance

I've been experiencing particularly bad performance from Java applications lately, seemingly out of nowhere. I'm seeing a noticable lag when performing operations where there previously were none, and longer operations are taking painfully long now. This is in an application that is manipulating binary files with a Swing GUI.

I updated to the latest version of the JRE (1.5.0_07) and it didn't help. Are there any oddball things I should be looking for, or things to change that might improve my performance?

[526 byte] By [jgoulda] at [2007-10-3 1:07:04]
# 1

Perhaps you are dealing with larger and larger data files?

Or the machine has fewer free memory due to other apps running?

The symptom you describe (of sudden slow down,

and noticeable lags) could be when the JVM performs

garbage collection to cope with reduced memory.

One thing you might want to observe is looking

at the process size (Use the "top" command in UNIX,

or use the process explorer on Windows).

Another thing you might want to try is to run your program

with profiling option turned on, so that you can see

which method/class is taking most of the time.

jack.1234a at 2007-7-14 18:03:43 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
If the app was at the boundary level of a running out of physical memory and your dataset increased just enough to go over that boundary then your app will perform significantly slower.
jschella at 2007-7-14 18:03:43 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
You can run your application with -XX:+PrintGCDetails and see if GC is taking up time.
poonambajaja at 2007-7-14 18:03:43 > top of Java-index,Java HotSpot Virtual Machine,Specifications...