trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selvaganesang <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #1045: [TRAFODION-2566] Reduce the virtual ...
Date Tue, 04 Apr 2017 22:45:45 GMT
GitHub user selvaganesang opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1045

    [TRAFODION-2566] Reduce the virtual memory allocated in Trafodion pro…

    …cesses with JDK1.8
    
    Added two new configurable JVM options -XX:CompressedClassSpaceSize=128m and
    -XX:MaxMetaSpaceSize=128m.
    
    You can modify the default value of these options using environment variables
    JVM_COMPRESSED_CLASS_SPACE_SIZE and JVM_METASPACE_SIZE respectively.
    
    With this change the virtual memory of any SQL processes and tm is reduced by 1GB.
    
    In JDK1.8 this space is used in lieu of permanent generation. Hence, I reduced the
    default Java Objects Max heap size for SQL master, ESP and arkcmp processes to 256 MB
from 512MB.
    The udrserv process continues to have 512MB of java objects space.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/selvaganesang/incubator-trafodion trafodion-2566

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1045.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1045
    
----
commit f288cc973cf7f562f7bf6ff66255f3a74608f183
Author: selvaganesang <selva.govindarajan@esgyn.com>
Date:   2017-04-01T00:39:46Z

    [TRAFODION-2566] Reduce the virtual memory allocated in Trafodion processes with JDK1.8
    
    Added two new configurable JVM options -XX:CompressedClassSpaceSize=128m and
    -XX:MaxMetaSpaceSize=128m.
    
    You can modify the default value of these options using environment variables
    JVM_COMPRESSED_CLASS_SPACE_SIZE and JVM_METASPACE_SIZE respectively.
    
    With this change the virtual memory of any SQL processes and tm is reduced by 1GB.
    
    In JDK1.8 this space is used in lieu of permanent generation. Hence, I reduced the
    default Java Objects Max heap size for SQL master, ESP and arkcmp processes to 256 MB
from 512MB.
    The udrserv process continues to have 512MB of java objects space.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message