Releasing system resources?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Applications Integration > Releasing system resources?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Releasing system resources?  
Rich Wallace


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-14-04 08:34 PM

Hi all,

I have several .NET based components (DLLs) being called from most of my
XLANG schedules.  I've noteid that over time, the DLLHOST.EXE that is
hosting the XLANG Scheduler application consumes a large amount of memory
and if it reaches a level of say 800M, my components crash and I receive
Obect Reference errors from my components until I restart the XLANG Schedule
application.

If my DLLs are technicall 'running' within the DLLHOST.EXE, how can I mange
my memory consumption or clean up the resources I use between each call from
the XLANG?  Any examples or best practice suggestion would be truly
apprecaited.

TIA
-Rich







[ Post a follow-up to this message ]



    Re: Releasing system resources?  
Christof


Report This Message To A Moderator Edit/Delete Message


 
04-14-04 08:34 PM

?

Is dllhost.exe hosting your schedules?  Normally this should be
BtsNtSvc.exe.  Can you explain please?  (Or are you using biztalk server
2002?  Then this makes sense...)

Regards,
Christof

"Rich Wallace" <rich.wallace@minusthecannedmeat.jfsheadotcom> wrote in
message news:OylYVQXIEHA.3040@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> I have several .NET based components (DLLs) being called from most of my
> XLANG schedules.  I've noteid that over time, the DLLHOST.EXE that is
> hosting the XLANG Scheduler application consumes a large amount of memory
> and if it reaches a level of say 800M, my components crash and I receive
> Obect Reference errors from my components until I restart the XLANG
Schedule
> application.
>
> If my DLLs are technicall 'running' within the DLLHOST.EXE, how can I
mange
> my memory consumption or clean up the resources I use between each call
from
> the XLANG?  Any examples or best practice suggestion would be truly
> apprecaited.
>
> TIA
> -Rich
>
>







[ Post a follow-up to this message ]



    Re: Releasing system resources?  
Christof


Report This Message To A Moderator Edit/Delete Message


 
04-14-04 08:34 PM

If you use interop, make sure you call the Marshaller.ReleaseCOMObject.
(Expecially true when using MSXML4 for some reason.)


"Rich Wallace" <rich.wallace@minusthecannedmeat.jfsheadotcom> wrote in
message news:OylYVQXIEHA.3040@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> I have several .NET based components (DLLs) being called from most of my
> XLANG schedules.  I've noteid that over time, the DLLHOST.EXE that is
> hosting the XLANG Scheduler application consumes a large amount of memory
> and if it reaches a level of say 800M, my components crash and I receive
> Obect Reference errors from my components until I restart the XLANG
Schedule
> application.
>
> If my DLLs are technicall 'running' within the DLLHOST.EXE, how can I
mange
> my memory consumption or clean up the resources I use between each call
from
> the XLANG?  Any examples or best practice suggestion would be truly
> apprecaited.
>
> TIA
> -Rich
>
>







[ Post a follow-up to this message ]



    Re: Releasing system resources?  
Rich Wallace


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-14-04 08:34 PM

Sorry, using BTS2002.

"Christof" <bts2004communityfeedback (at) hotmail (dot) com> wrote in
message news:uhP$k2XIEHA.700@TK2MSFTNGP09.phx.gbl...
> ?
>
> Is dllhost.exe hosting your schedules?  Normally this should be
> BtsNtSvc.exe.  Can you explain please?  (Or are you using biztalk server
> 2002?  Then this makes sense...)
>
> Regards,
> Christof
>
> "Rich Wallace" <rich.wallace@minusthecannedmeat.jfsheadotcom> wrote in
> message news:OylYVQXIEHA.3040@TK2MSFTNGP09.phx.gbl... 
memory 
> Schedule 
> mange 
> from 
>
>







[ Post a follow-up to this message ]



    Re: Releasing system resources?  
Rich Wallace


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-14-04 08:34 PM

We've created our components using the ProcessMessage function implementing
IBTSAppIntegration.  We have several complex business rules and integrated
with an AS400 so we pretty much take over all processnig control and let
BizTalk just 'pass' the message to us.

I use the ReleaseCOMObject is most of my Windows app, but not sure how to
control the DLLHOST from my DLL.

-r

"Christof" <bts2004communityfeedback (at) hotmail (dot) com> wrote in
message news:uLO8S3XIEHA.828@TK2MSFTNGP10.phx.gbl...
> If you use interop, make sure you call the Marshaller.ReleaseCOMObject.
> (Expecially true when using MSXML4 for some reason.)
>
>
> "Rich Wallace" <rich.wallace@minusthecannedmeat.jfsheadotcom> wrote in
> message news:OylYVQXIEHA.3040@TK2MSFTNGP09.phx.gbl... 
memory 
> Schedule 
> mange 
> from 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register