Out of Memory Error when connecting thru Web Services

Out of Memory Error when connecting thru Web Services

If you are using your Connected Business application currently connected via Webservices, and it throws an Out of memory prompt, the problem is usually on where you setup the webservice URL -WEB SERVER

This simply means the Application Pool process assigned to the Webservice application reach the “Private memory” allotted depending on the Operating System (32-bit or 64-bit environment)

Periodic recycling for assigned Connected Business Webservice application pool

On your WEB SERVER

  1. Open Internet Information Services (IIS) Manager
  2. In the Connections pane, expand the server name, and then click Application Pools.
  3. In the Application Pools pane, select the application pool you want edit.
  4. In the Actions pane, click Recycling...

5. On the Recycling Conditions page of the Edit Application Pool Recycling Settings Wizard, Make sure the check box is checked for Memory Based Maximums > Privat memory usage (in KB).   Initially type 3000000 as the value.  If you are still encountering the OOM, reduce the value gradually up to 2000000

6. (Optional) On the Recycling Events to Log page of the Edit Application Pool Recycling Settings Wizard, select the configurable recycling events and run-time recycling events that you want IIS to send to the event log when they occur, and then click Finish.

NOTE:  IIS is just handling the recycling of the application pool before it reached the maximum private memory and throws the out of memory error

Applicable Versions

CB20 and CB21

Was this answer helpful? 0 Users Found This Useful (0 Votes)