High memory usage when using GPMC API to generate settings report for GPOs


hi,

i writing application requires generate settings report of gpos in multiple domains.

i using gpmc library same. (using igpmgpo::generatereporttofile method).

on calling above method, gpmc seems launching new process ( dllhost.exe ) generates reports.

what noticed on running application each time, size of of process ( dllhost.exe ) keeps increasing.

on test environment having ~1000 gpos, size of dllhost.exe process reaches around 1.5 gb , system becomes unusable.

the problem:

1. there way to make gpmc release memory before run application each time ?

2. indicate gpmc not releasing memory correctly ?

note: problem can reproduced using gpmc sample script ( getreportsforallgpos ) running multiple times.

my application .net application.

thanks

amit

hello,


the problem:
 
1. there way make gpmc release memory before run application each time ?
2. indicate gpmc not releasing memory correctly ?


programing language use? suggest ask in corresponding forum in msdn in visual c forum. or might want ask in scripting forum.

 

 

regards,

zhang     

technet subscriber support

if technet subscriptionuser , have feedback, please send feedback here.




Windows Server  >  Management



Comments

Popular posts from this blog

Global Catalog ?

mailing list

Global Catalog