• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Run servlet and applet only limited times on IE?

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a strange problem. My environment: Redhat 9,Apache 2 as web server, Tomcat for servlet.

When uses visit my web page on Apache server and input the date by applet, the date is sent to servlet on Tomcat, servlet calculate and sends back an integer array[6][300], then applet plot graph according to the integer array in its canvas.

I use IE test my web. It is working, but strange thing is: it cannot run many times. I mean, first use inputs one date and get the graph, then use input a new date, get new graph, then third time. But at fourth time, the IE frozen. On one PC, IE can do this 3 time, on the other one, IE can do this 5 times. I have no idear what the porblem could be! Web server is not cofnigured right? or Servlet connection is not limit? or some resource wrong? or other reason?
Thanks for any suggestion!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it might be a memory leak on your applet. It will eventually run out of memory, which crashes the applet and/or your browser.
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic