I\'m using jacob to parse a big file.
The codes look like :
Dispatch record= Dispatch.call(xxxx, \"xxxx\", itemIndex)
The problem is that, the file is really big, the while loop is generate lot\'s of record Objects which are refered by ROT.
Since the GC can\'t release the record objects, the memory group quickly.
I think ComThread.RemoveObject may slove the problem, but it is Deprecated.
Or it would be good ROT should remove the object when record.safeRelease() is called.
Log in to post a comment.