• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM Memory  RSS feed

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this is 'Intermediate' or 'Beginner', but here goes.

How does a person go about setting up the JVM memory? (Is this specific to the App Server that you are running, in a config file, or is there a global way to set it?).

I'm installing SAP NetWeaver, and it needs the JVM memory set to 1024, it is currently at 512...

Thanks... in advance.
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The preferred way to do it will be specific to your app server. Ultimately, if you're running a Sun JVM, you want the JVM executable to get a command-line argument that looks like "-Xmx1024m" . Most app servers come with more or less complicated scripts which you either edit, or, preferably, with config files you can add things to .
 
Ranch Hand
Posts: 257
Firefox Browser Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Matt Holloway:
I'm not sure if this is 'Intermediate' or 'Beginner', but here goes.

How does a person go about setting up the JVM memory? (Is this specific to the App Server that you are running, in a config file, or is there a global way to set it?).

I'm installing SAP NetWeaver, and it needs the JVM memory set to 1024, it is currently at 512...

Thanks... in advance.


Hi,
you can do it. you have to pass these as arguments to jvm.

-Xxs=20Mb ( the startup memeory)

-Xxm=1024MB ( The maximum memory to use...after that blow up... )





 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Srinivas Kalvala:

Hi,
you can do it.


Yes, as I said, he can. However, he'll need to do it with the syntax I provided, as both of the flags you listed are invalid, as is the syntax of their arguments.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!