|
Home > Archive > Commerce Server General > November 2006 > Urgent: OutOfMemoryException when calling CatalogWebService in a l
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Urgent: OutOfMemoryException when calling CatalogWebService in a l
|
|
| Birendra 2006-10-25, 1:24 am |
| Hi,
Getting outOfMemoryException when calling CatalogWebService in a loop. We
have a tool which goes thru the customer data and calls the catalog web
service to upload one product at a time. The web service throws above error
after creating 30/35 products in the catalog.
Web service works fine only after rebooting the box. Recycling the worker
thread does not fix the issue.
Kindly help as its happening in the production environment.
Thanks.
Birendra
Error in the event log
An exception occurred in the 'CatalogWebService' Web service. Exception
details follow:
System.OutOfMemoryException: Insufficient memory to continue the execution
of the program.
Server stack trace:
at
Microsoft.CommerceServer.Catalog.ICatalogImport.WebServiceImport(String
siteName, Guid token, Boolean inventoryImport, String importOptionsXml,
Boolean ignoreInventorySystem, String userName, String
authorizationPolicyPath)
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink. PrivateProcessMessage(RuntimeMethodHandl
e
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
Microsoft.CommerceServer.Catalog.ICatalogImport.WebServiceImport(String
siteName, Guid token, Boolean inventoryImport, String importOptionsXml,
Boolean ignoreInventorySystem, String userName, String
authorizationPolicyPath)
at
Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.Import(Guid token, ImportOptions importOptions)
| |
| Colin Bowern 2006-11-07, 1:22 am |
| Hi Birendra,
How is the server as far as memory goes? If you turn on performance monitor
logging using the Memory object sampling every few seconds can you identify
any significant trending upwards in the counters?
Cheers,
Colin
--
The group is moving! Check out Commerce Server discussion forums on MSDN:
http://forums.microsoft.com/msdn/de...id=294&SiteID=1
For more on my experiences with Commerce Server:
http://colin.rockstarguys.com
"Birendra" <Birendra@discussions.microsoft.com> wrote in message
news:8448404F-2E87-4913-8F38-8C30E92E735E@microsoft.com...
> Hi,
> Getting outOfMemoryException when calling CatalogWebService in a loop. We
> have a tool which goes thru the customer data and calls the catalog web
> service to upload one product at a time. The web service throws above
> error
> after creating 30/35 products in the catalog.
> Web service works fine only after rebooting the box. Recycling the worker
> thread does not fix the issue.
>
> Kindly help as its happening in the production environment.
>
> Thanks.
> Birendra
>
> Error in the event log
>
> An exception occurred in the 'CatalogWebService' Web service. Exception
> details follow:
>
> System.OutOfMemoryException: Insufficient memory to continue the execution
> of the program.
>
> Server stack trace:
> at
> Microsoft.CommerceServer.Catalog.ICatalogImport.WebServiceImport(String
> siteName, Guid token, Boolean inventoryImport, String importOptionsXml,
> Boolean ignoreInventorySystem, String userName, String
> authorizationPolicyPath)
> at
> System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
> md, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext,
> Object[]& outArgs)
> at
> System.Runtime.Remoting.Messaging.StackBuilderSink. PrivateProcessMessage(RuntimeMethodHandl
e
> md, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext,
> Object[]& outArgs)
> at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
> msg, Int32 methodPtr, Boolean fExecuteInContext)
>
> Exception rethrown at [0]:
> at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)
> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)
> at
> Microsoft.CommerceServer.Catalog.ICatalogImport.WebServiceImport(String
> siteName, Guid token, Boolean inventoryImport, String importOptionsXml,
> Boolean ignoreInventorySystem, String userName, String
> authorizationPolicyPath)
> at
> Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.Import(Guid
> token, ImportOptions importOptions)
>
|
|
|
|
|