Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Applets & the heap size parameter of the plug-in...

Thread Tools

Applets & the heap size parameter of the plug-in...

M Huenken
Posts: n/a
Hi there,

I'm experiencing a very strange problem I don't find any solution for:

When I'm trying to launch an applet (any applet) and when I'm
reserving a certain heap space for the JVM (using the -Xmx/-Xms
options) then the browser (IE 6.0, Windows XP, Java Plugin
crashes instantaneously.

To my surprise the amount of heap space that I can reserve is always
the same. It doesn't matter how big the swap space is or how many
applications are running at the same time.

On my machine it's exactly 586M. I have 1G of RAM, experimented with
different sizes for the swap space(1-3G) and according to the task
manager it doesn't even come near the amount of available memory. In
fact it doesn't seem to try to allocate any memory at all. The browser
or the JVM just dies...

I also experimented with different option flags (classic and several
GC flags), but to no avail. Also no luck with using a 1.4.2 plugin.

I don't have this problem with Netscape btw.

Since this happens on several machines and similar problems are
mentioned at places like this one (Sun's Developer Forum), I wonder if
I just miss something or if there is a pretty serious bug. And if so,
why is there no official bug report? If this really is a bug, then
it's a fatal one...

Any ideas?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter Type/Size Property Values for VARCHAR(MAX) Stored Proc Parameter jcpc ASP .Net 2 01-26-2011 11:48 AM
How much heap can I reserve for JVM? Error when allocation very much heap Raymond Schanks Java 0 04-11-2010 04:25 PM
stl heap question: restoring heap validinty after changing 1 element viki C++ 6 06-28-2008 10:12 AM
Heap dump file size vs heap size Michal Slocinski Java 1 03-25-2008 12:54 PM
Can we determine stack size & Heap size at runtime ? sunny C Programming 5 08-17-2006 12:17 AM