Shibankar
Shibankar

Reputation: 846

Increase java heap space in Linux

If I run:

ps -aux | grep java

I can see something set as

 -Dblackduck.serverFileURL=file:///protextsoftwarescan1/project/ -server -Xmx76800m -Xms76800m -XX:PermSize=192m -XX:+UseG1GC

Now, how to find and edit the Xmx and Xms for this particular variable?

Upvotes: 1

Views: 650

Answers (2)

Julien Ripault
Julien Ripault

Reputation: 21

It depends on how you launch the process. If it is a shell script, look for parameters. Or maybe, it is an environment variable

Upvotes: 1

Alexander Petrov
Alexander Petrov

Reputation: 9492

process initialization scrips are usually held in "/etc/rc...". You should find the process script blackduck or whatever the program name is and edit the values of -Xmx and -Xms there.

Upvotes: 0

Related Questions