-
1. Re: HTTP Adapter Stuck while making REST call
Ranganath SamudralaApr 27, 2017 7:40 AM (in response to Aryan Anantwar)
How much memory has been allocated to the BAO process here?
Do you see any OutOfMemory errors in grid.log?
You may need to provide more information, like the JSON data that is being processed, etc.
-
2. Re: HTTP Adapter Stuck while making REST call
Aryan Anantwar Apr 27, 2017 7:59 AM (in response to Ranganath Samudrala)Hi Ranga,
Thanks for quick response.
the response contains the 30K+ records as below is the one of them:
{
"Status": "xxxx",
"Building": "xxx",
"LoginID": "xxxx",
"FirstName": "xxx",
"EmployeeNumber": "xxxxxx",
"Title": "xxxxx",
"TelephoneNumber": "",
"Department": "xxxxxxx",
"Mail": "xxxxxxxxxxxx",
"DisplayName": "xxxxxxxxx",
"Division": "xxxxxxxx",
"LastName": "xxxxxxx",
"PreferredName": "",
"Domain": "xxxxxxxxx",
"RoomNumber": "xxxxxxxx",
"ManagerLoginID": "xxxxxxxxxxx",
"Location": "xxxxxxxxxxxxx"
}
I'm testing this in Devstudio (BAO version 7.8.02 on windows) and the Box is running with 8GB RAM.
CDP is also running on the same box.
do I need to change any JVM settings for this to work?
Regards,
Aryan Anantwar
-
3. Re: HTTP Adapter Stuck while making REST call
Ranganath SamudralaApr 27, 2017 8:26 AM (in response to Aryan Anantwar)
1 of 1 people found this helpful30k+ records converted to XML will consume a lot of memory.
Eventually, out of 8GB, how much is allocated to dev studio and CDP? Prefer CDP is on a different machine with 16GB RAM and the CDP allocated 8GB to itself.
-
4. Re: HTTP Adapter Stuck while making REST call
Carl WilsonApr 27, 2017 6:45 PM (in response to Aryan Anantwar)
1 of 1 people found this helpfulHi Aryan,
A couple of thing to remember here based on what Ranga has mentioned:
- You may have a server with 16GB Ram, however during the OOB installation AO only allocates to the process a standard Java heap sizing (1024 - 2048) as defined when you install the product. You can increase this to make use of the server memory by increasing the JVM allocation for the AO process (Configuration Distribution Peer). 8GB Ram is the recommended maximum allocation for a CDP. For a server with 8GB Ram, you need to allow for OS overhead, so with Windows we say 20% for OS (10% for Unix) and therefore probably no more than say 6GB Ram.
- Developer Studio only uses the memory as allocated in its "Development Studio.ini" file, so although the Grid may have the additional memory overhead you need to account for the memory allocated to the Developer Studio + the memory that will be consumed by the logging and other activities in the Developer Studio e.g. Open Processes in the Designer, etc. This all eats up the memory quickly.
Cheers
Carl
-
5. Re: HTTP Adapter Stuck while making REST call
Aryan Anantwar Apr 28, 2017 1:58 AM (in response to Carl Wilson)Thanks Carl and Ranga,
issue resolved when JVM memory increased.
Regards,
Aryan Anantwar