|
|
|
Program demonstrujący działanie słabych referencji.
--- Total Memory: 10216
HTML file to get images from: d:\test\test.htm
----------------------------
--- Total Memory: 278520
0: d:\test\blanprev.gif
1: d:\test\blantop.gif
2: d:\test\blantoc.gif
3: d:\test\blannext.gif
C: collect unused memory
X: exit
---> 0
#### image from file: d:\test\blanprev.gif
format: GIF
width: 37
height: 37
vertical resolution: 96
horizontal resolution: 96
number of colors: 256
----------------------------
--- Total Memory: 311440
0: d:\test\blanprev.gif
1: d:\test\blantop.gif
2: d:\test\blantoc.gif
3: d:\test\blannext.gif
C: collect unused memory
X: exit
---> C
----------------------------
--- Total Memory: 144364
0: d:\test\blanprev.gif
1: d:\test\blantop.gif
2: d:\test\blantoc.gif
3: d:\test\blannext.gif
C: collect unused memory
X: exit
---> 0
#### image from file: d:\test\blanprev.gif
!!! weak reference is not alive - reloading
format: GIF
width: 37
height: 37
vertical resolution: 96
horizontal resolution: 96
number of colors: 256
----------------------------
--- Total Memory: 175556
0: d:\test\blanprev.gif
1: d:\test\blantop.gif
2: d:\test\blantoc.gif
3: d:\test\blannext.gif
C: collect unused memory
X: exit
---> 0
#### image from file: d:\test\blanprev.gif
format: GIF
width: 37
height: 37
vertical resolution: 96
horizontal resolution: 96
number of colors: 256
----------------------------
--- Total Memory: 200284
0: d:\test\blanprev.gif
1: d:\test\blantop.gif
2: d:\test\blantoc.gif
3: d:\test\blannext.gif
C: collect unused memory
X: exit
--->