View Single Post
Old 10-26-2008, 02:20 PM   #4
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
I modified my code to call waitpid, but the problem still existed. Then, I tried another option: calling proper wrapped zlib (zzip lib), the result is the same.
Now, I have another guess: the problem might come from the GtkWidget and GdkPixbuf that I used to load and store image. It might because the old one is not cleared when I create a new one, even though I always re-use the same pointers to point to GtkWidget and GdkPixbuf.
Oh! I love Java. When I set a pointer or object to null, JVM will collect garbage automatically for me.
ericshliao is offline   Reply With Quote