Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to allocate memory to JVM programatically?

  Asked By: Joel    Date: Mar 20    Category: Java    Views: 1074
  

Iam developing a product using Java Swings on NetBeans4.1 IDE.

How to allocate memory to JVM programatically? I need to know if there
are any classes that can be used in allocating memory to JVM for J2SE
applications. At runtime we can do by java -Xms<size> -Xmx<size>
appName.
But i need to know if there is any code to replace this.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to allocate memory to JVM programatically? Or get search suggestion and latest updates.




Tagged: