Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Erratic Behaviour of this stand Alone application

 
arun mahajan
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic