Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MaxDirectMemorySize for webstart application.

843802Apr 18 2005 — edited Apr 28 2005
Hi,

I got an java webstart application that uses direct memory buffers. The buffers sometimes grow larger than the default setting of 64MB.

In plain java there's the possability to increase the direct memory by passing the -XX:MaxDirectMemorySize argument to the jvm.

Is it possible to do the same with java webstart?
I have tried the in the resouce section of the jnlp file but I suspect that -XX:MaxDirectMemorySize is not a sucure webstart argument and thus ignored.
	   <j2se version="1.5+" initial-heap-size="16m" max-heap-size="128m" java-vm-args="-XX:MaxDirectMemorySize=256M" href="http://java.sun.com/products/autodl/j2se"/>
Any help would be appreciated.

\Magnus
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2005
Added on Apr 18 2005
3 comments
642 views