Clarity

 View Only
  • 1.  Read user through XOG API service, getting 'out of memory' in app server

    Posted Jul 27, 2022 10:35 AM
    We are trying to read user through xog api service, after few success response we start seeing 'out of memory' error on app server. can someone suggest how to resolve this.


  • 2.  RE: Read user through XOG API service, getting 'out of memory' in app server

    Broadcom Employee
    Posted Jul 29, 2022 05:45 AM
    What is the JVM configuration and what was the Xog input file used?

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 3.  RE: Read user through XOG API service, getting 'out of memory' in app server

    Posted Aug 01, 2022 02:00 PM
    Thanks Suman for reply, we have increased  the JVM heap memory in ratio of 1:3 that is min 5gb and maximum 15 gb. We are trying to manage the user details in clarity using other application. It ran for 1-2 attempts successfully  but after that we start seeing 'OOM' error.
    Below are the  initial XOG we are using.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/enevelope"
    xmlns:xog="http://www.niku.com/xog"
    xmlns:obj="http://www.niku.com/xog/object">
    <soapenv:Header>
    <Auth>
    <!-- Auth details  -->
    </Auth>
    </soapenv:Header>
    <soapenv:Body>
    <Query xmlns="http://www.niku.com/xog/Query">
    <!-- we have used custom defined NSQL query to fetch user information -->
    </Query>
    </soapenv:Body>
    </soapenv:Envelope>



  • 4.  RE: Read user through XOG API service, getting 'out of memory' in app server

    Broadcom Employee
    Posted Aug 02, 2022 08:43 AM
    This is skeleton query and doesn't have exact NSQL written, you can batch the number of records in order to overcome the same

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 5.  RE: Read user through XOG API service, getting 'out of memory' in app server

    Posted Aug 03, 2022 02:19 PM
    Hi Suman,

    We are passing one user id at time to read the user xml through XOG API call , it works fine  for certain time then application stops responding and  gives  'Out of memory ' error in log file.