Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Increasing JVM memory using an applet parameter

39 views
Skip to first unread message

humberto....@gmail.com

unread,
May 2, 2009, 5:21:19 AM5/2/09
to
Hi!

I've heard that it's now possible to increase the JVM memory using an
applet parameter (not using the java control panel) but I cannot find
this information on the web. Any references?

Thanks in advance, Humberto.

Andrew Thompson

unread,
May 2, 2009, 6:16:46 AM5/2/09
to
On May 2, 7:21 pm, "humberto.bortolo...@gmail.com"
<humberto.bortolo...@gmail.com> wrote:
> ...

> I've heard that it's now possible to increase the JVM memory using an
> applet parameter (not using the java control panel) but I cannot find
> this information on the web. Any references?

Java 1.6.0_10+ JREs have the ability to configure
memory for embedded applets via JNLP (webstart).
Previously it was only available for *free floating*
applets (and applications) launched using webstart.

For JNLP deployment of embedded applets.
<https://jdk6.dev.java.net/plugin2/jnlp/>

For specifying extra memory in a JNLP
<http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/
syntax.html#resources>

Look for 'max-heap-size'.

--
Andrew T.
pscode.org

Humberto Bortolossi

unread,
May 2, 2009, 4:41:20 PM5/2/09
to
Thanks! I suppose this feature is not available for ordinary (non
JNLP) applets, right?

John B. Matthews

unread,
May 2, 2009, 5:37:38 PM5/2/09
to
In article
<cdeb5e79-bb80-4d14...@v17g2000vbb.googlegroups.com>,
Humberto Bortolossi <hjbo...@gmail.com> wrote:

> On May 2, 7:16 am, Andrew Thompson <andrewtho...@gmail.com> wrote:
> > On May 2, 7:21 pm, "humberto.bortolo...@gmail.com"
> >
> > <humberto.bortolo...@gmail.com> wrote:
> > > ...
> > > I've heard that it's now possible to increase the JVM memory using an
> > > applet parameter (not using the java control panel) but I cannot find
> > > this information on the web. Any references?
> >
> > Java 1.6.0_10+ JREs have the ability to configure
> > memory for embedded applets via JNLP (webstart).
> > Previously it was only available for *free floating*
> > applets (and applications) launched using webstart.
> >
> > For JNLP deployment of embedded applets.
> > <https://jdk6.dev.java.net/plugin2/jnlp/>
> >
> > For specifying extra memory in a JNLP
> > <http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/
> > syntax.html#resources>
> >
> > Look for 'max-heap-size'.

> Thanks! I suppose this feature is not available for ordinary (non
> JNLP) applets, right?

I had not known about the JNLP approach. Qu0ll helpfully offered this
alternative:

<http://groups.google.com/group/comp.lang.java.programmer/msg/933a38e4749
9a3a6?hl=en>

[Please remove signatures when responding.]
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Lew

unread,
May 2, 2009, 5:47:55 PM5/2/09
to
John B. Matthews wrote:
> [Please remove signatures when responding.]

And please do not top-post.

--
Lew

Andrew Thompson

unread,
May 2, 2009, 11:42:31 PM5/2/09
to
On May 2, 1:41 pm, Humberto Bortolossi <hjbor...@gmail.com> wrote:
> Thanks!

As mentioned by other, please refrain from top-posting.
It is most cond=fusing. Instead, put comments directly
after anything above, and trim non-relevant material.

>..I suppose this feature is not available for ordinary (non
> JNLP) applets, right?

Well before I get into that, I want to know a
few things.
1) Do you understand what multi-posting is, and
why it is discouraged?
2) What are your future intentions when posting?
(To multi-post, or not multi-post)
3) Which of the threads you started, do you wish
to continue on? (Because I do not intend posting
my answers to each thread)

Note: Reply x-posted *(not multi-posted)* to
c.l.j.h./p. w/ f-u not set.

--
Andrew T.
pscode.org

0 new messages