Solved

Controlling memory available to Java

Posted on 2007-12-03
3
156 Views
Last Modified: 2013-11-23
Is it possible to control the memory available to Java without manually setting the value in the control panel? It has been suggested that telling all my users to do thiese settings themselves is the only option.
Please advise.
0
Comment
Question by:kcoxon
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
ksivananth earned 250 total points
ID: 20395026
if you are using Java webstart, you can specify it in the JNLP in single location...

or if standalone, probably you can give a batch file where in specify the heap size and through which the customer can launch the app.

if applet, only way is through control panel!
0
 

Author Comment

by:kcoxon
ID: 20395516
If no enetry is made in control panel, what is the default memory allocation?
0
 
LVL 26

Assisted Solution

by:ksivananth
ksivananth earned 250 total points
ID: 20395542
64mb I guess!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now