allocation memory

ajakovcic

    When JVM allocate memory with flags Xmx and Xms (-Xms3072M -Xmx3840M -XX:MaxPermSize=512M) on Solaris (SunOS  5.11 11.3 sun4v sparc sun4v) with pmap command we noticed that is using:

    pmap -S 1765 | egrep "Swap|total"

             Address     Kbytes       Swap Mode Mapped File

            total Kb    4572536    4520056

    Is there a way to allocate less swap?