How to collect system resource?
I am working on a cbz/cbr viewer. I used popen function to call unzip/unrar and get their output. Basically, this medthod works, but it seems to occupy more and more system resource even after unzip/unrar finished their jobs. This problem caused app crash.
I tried pipe/fork, still same problem.
I wonder if there are ways to re-collect system resource.
If not possible, then the only way left to me is finding a proper wrapped zip/rar lib and call it in my app.
|