• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Internet Explorer exits when accessing an applet (when using memory plugin settings)

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been running a specific applet (using <OBJECT> tag) in Internet Explorer 5.5 & 6.0 for over a year now. All of the sudden, when I use IE to bring up the applet, my IE browser immediately exits. IE appears to exit when it is trying to bring up the Java Console and initialize the Java Plugin (BTW...I am using Plugin 1.4.2_08-b3).

The applet comes up in Netscape 7.x and Mozilla fine.

While troubleshooting this problem, I discovered that if I go into the Java Plugin and remove my memory settings (-Xms128m -Xmx512m), the applet will come up just fine in IE.

Other than the normal windows updates, nothing else should have changed in my computer's configuration. I have been running the same plugin for quite a while now.

Any incite into what may be going on is greatly appreciated.

Thanks,

Chris D.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What you are saying is correct,
this problem appears simply when setting the max heap size to be used in jvm to be large (in your case, 512 MB ..which is large enough)...The problem seems to be due to the fact that IE is not allowed to obtain this much contiguous memory size, so it fails to load
to get over this problem, try to make the memory requirements smaller (try 250 -Xmx250m, or even 300 MB for instance -Xmx300m) ..besides, is there a really good reason for you to use this much large memory for the applet (is it an imaging applet?)
And if you are asking, this issue has nothing to do with how much memory you have on your system, you might have 2 GB and still have this issue
Best,
Mohammad
 
Chris Davidson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mohammad,

Thanks for the quick reply. You are correct that setting my max memory lower (e.g. -Xmx300m) allows the applet to come up. Do you know why this would happen all the sudden? As you guessed, I have plenty of physical memory (over 1GB free).

Another thing that I discovered was that if I open the Java Console (by going to Tools -> Sun Java Console) before clicking on the page with the applet, the applet would typically load.

Again...thanks,

Chris D
 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chris,
i am glad you got this issue solved,
and as i mentioned earlier, the reason behind this is that IE is not allowed to obtain this much contiguous memory size, so it fails to load...that's the whole deal, while if you try using the same memory requirements on the console for example, you can reach up to 512MB, 1GB, or even more, and that is based on your system's memory capacity
Best,
Mohammad
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic