c# - Perform GC.Collect on another process -


i have application creates new processes in runtime , inside these processes appdomains.

to monitor survived memory of appdomain need first perform gc.collect, when in process don't know how it. there way?

thanks in advance.

maybe there more direct way, here 1 works: make other app expose rpc endpoint can call initiate gc. example, use .net remoting open simple named pipe connected service. code surprisingly small.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -