I've noticed that when Adium crashes (rare, but it happens), my chat log has a big hole in it that goes back to (I think) my last launch, which may have been days before.
I suggest writing to the log at a regular N-minute interval to minimize the problem. I don't know how much of a hit it would be to do it on every message transaction, but if minor, that would be ideal.