I create some system using industry env.
.net make "world stop" any time by GC.
It make critical on my system.
If don't want use GC how can i do?
ans i always delete heap manualy c++.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
NitinPosted Mar 31, 2015, 1:33 AM
Do not call Garbage collector manually in your application. Instead implement the IDisposable interface. It gives a Dispose method in which you can write the clean up code. Also do not forget to call the GC.SuppressFinalize() method in the dispose method so as to avoid the garbage collector to run.