Error in .net: Allowed memory size of 157286400 bytes exhausted (tried to allocate 10528769 bytes)
I am trying to use a webmethod from one of our third party webservices into my vb.net code to retrieve information using their .net API.

When i try
Dim records() As WEB_API.DBRecord
records = api.GetView(guid, viewid, dbid, offset, 10000)

I get error from the webservice(SOAP) saying:
**System.Web.Services.Protocols.SoapHeaderException:Allowed memory size of 157286400 bytes exhausted (tried to allocate 10528769 bytes)**
   **at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at comp.WEB_API.XYZ.GetView(String db_guid, Int32 view_db, Int32 space_id, Int32 offset, Int32 count)**

Is there anything i need to fix from my end? what do you think is the cause.
let me know how i can resolve this issue.
Thanks.
Error in .net: Allowed memory size of 157286400 bytes exhausted (tried to allocate 10528769 bytes)
===

I am trying to use a webmethod from one of our third party webservices into my vb.net code to retrieve information using their .net API.

When i try
Dim records() As WEB_API.DBRecord
records = api.GetView(guid, viewid, dbid, offset, 10000)

I get error from the webservice(SOAP) saying:
**System.Web.Services.Protocols.SoapHeaderException:Allowed memory size of 157286400 bytes exhausted (tried to allocate 10528769 bytes)**
   **at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at comp.WEB_API.XYZ.GetView(String db_guid, Int32 view_db, Int32 space_id, Int32 offset, Int32 count)**

Is there anything i need to fix from my end? what do you think is the cause.
let me know how i can resolve this issue.
Thanks.