File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Erratic Behaviour of this stand Alone application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Erratic Behaviour of this stand Alone application" Watch "Erratic Behaviour of this stand Alone application" New topic

Erratic Behaviour of this stand Alone application

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Hi Everybody,
recently I have made one program which works on net package. It takes a object stream from one servlet ... process it out...and writes to another server using data streams..after reading the response from this server it writes back the data to the servlet.
In between it interacts with database and do some processing..
This is a continuous thread.
The problem is it hangs after sometime. And I found my applications at this moment stores all the request and surprisingly when I press "ctrl+c" it release all request and after submitting them it comes back to working condition without existing th porgram.
At this moment my machine does not hang.
Earlier I thought it may be because my programs takes a lot of memory. but it is so irregular it seems difficult to check.
What could be the problem .. how can i release the memory..
Does anybody has any idea?
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

I don't see why this belongs in the Swing/JFC/AWT forum... Since your problem could potentially be among several different areas ( servlets, JDBC, etc. ) I'm going to move this post to Java in General ( Intermediate ).


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Erratic Behaviour of this stand Alone application
It's not a secret anymore!