Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Possible to change heap size while java is running on a Solaris box?  RSS feed

 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working with a Solaris system and it seems the native Java is running at heap space size of 512Mb. The problem is that an application running which works with PDFs is also running at 512Mb. The manual says to increase both heap sizes.

On one installation this of this application utilizes 2Gb of heap space for both the native java and the secondary application. This server is not an issue since the primary application is running WebObjects and I can change environment variables on the fly.

What I want to know is it possible to change the heap space allocation on a Solaris machine on the fly?
 
Ranch Hand
Posts: 802
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Matt,
You can change heap size.
Go through the following links.
3.5.3 Heap
Garbage Collector Ergonomics
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!