Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

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?
regards,
Arun
Nathan Pruett
Bartender

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 ).

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Erratic Behaviour of this stand Alone application
 
Similar Threads
IBM HttpServer and websphere Appserver
Chapter 2 (HFSJ) notes , may be useful for anyone
Erratic Behaviour of this stand Alone application
Double Submission
HTTPS back to HTTP( Sorry, Try again)