pankaj012797
asked on
Crash in javaw
I have an client server application both written in java. Client is a Swing based GUI application. Server continuously pushes some data to client using TCPIP sockets at the very high rates. Every time when client receives a push, it creates a new thread. In the new thread, it updates a table model (A table is displayed on the client). The new thread dies after that.
All this works fine. But after running for couple of hours (around 10 to 15 hours), I get a crash in javaw with exception violation. I am running both the applications on Windows NT 4.0 and using JDK 1.2.2
Any clue that what might be the problem or what might be the good way to find (debug) the problem.
Thanks for any response,
Pankaj
All this works fine. But after running for couple of hours (around 10 to 15 hours), I get a crash in javaw with exception violation. I am running both the applications on Windows NT 4.0 and using JDK 1.2.2
Any clue that what might be the problem or what might be the good way to find (debug) the problem.
Thanks for any response,
Pankaj
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what about implementing Thread pool ?
Debuging this is very hard, but try putting some memory statistic code in your source (if you have it) or check it in the system with some utility that shows which program uses how much memory.