• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Increase Applet Memory - IE issue

 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
long time not posted here
i have an applet which handles displaying images, now these images are sometimes large in size. i have been increasing the maximum heap size for the applet (setting -Xmx260m) to handle up to this amount of memory, this works fine under firefox. In firefox case, i can go up to 650MB without any problems. Under IE, the problem i am facing is when i try to increase the size beyond 300MB (for my 1GB machine), and under other machines, even above 150MB would cause problems (the problem being jre not being able to load). I understand this is caused by IE-java issue not allowing large amounts of contiguous memory to be assigned to jvm.
Any suggestions to solve this issue? opening multiple jvms for example? i do need to support large amounts of memory (why should i have a limitation in IE case which is much smaller than firefox) ..
Thanks a lot guys
Best,
Mohammad
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using multiple JVMs is not possible (and would probably make the problem worse, not better). I think the JVM options like min/max heap size can be set in the Java Plugin control panel (assuming you're using the Sun JVM, and not the obsolete Microsoft JVM).
 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf,
thanks for your reply
i am definitely using java virtual machine, not microsoft's virtual machine.
the only thing that occurred to me to having multiple virtual machines, is that each one of them would be able to take up to a certain limit of memory, and i can therefore spread the load across them.
i am trying to improve the memory performance of my applet, but it is minimal so far, and i really need to get over this barrier of IE-JVM interaction (which is not existing under firefox-JVM)
it would be wondeful if someone comes up with some solution for this
waiting your suggestions guys
Best,
Mohammad
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't make out from your post whether you have actually tried changing the heap size?
 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah
definitely...my main problem is with this parameter (-Xmx), when setting to values larger than 300m on my pc (1GB RAM), IE would not start, and i get a jre runtime error. This does not occur with firefox
in other cases (pcs with 512 MB RAM), this problem occurs with -Xmx260m, and even with less values sometimes
Thanks,
Mohammad
 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah
definitely...my main problem is with this parameter (-Xmx), when setting to values larger than 300m on my pc (1GB RAM), IE would not start, and i get a jre runtime error. This does not occur with firefox unless i set really high values (higher than 650m)
in other cases (pcs with 512 MB RAM), this problem occurs with -Xmx260m, and even with less values sometimes
Thanks,
Mohammad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic