View Single Post
Old 10-26-2008, 02:22 AM   #1
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
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.
ericshliao is offline   Reply With Quote