Forums Register Login

Increase Applet Memory - IE issue

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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).
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
I can't make out from your post whether you have actually tried changing the heap size?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
You can't expect to wield supreme executive power just because
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2862 times.
Similar Threads
When to commit
Internet Explorer exits when accessing an applet (when using memory plugin settings)
Need help fixing layout differences between IE and FireFox - Resolved
Drawing Image Doubles Memory Consumption
Low memory
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:23:01.