Hi
I need to free memory to show a large number of images
Here follow some samples I try to explain:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
With the above code about after 10 load images (same image) the program crash due to end of memory
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Same problem
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Same problem
There is a way to discard unused images, unload images or free up the memory?
I need to show (sequentially) about 100 images of 500Kb each.
Some suggestion?
			
			I need to free memory to show a large number of images
Here follow some samples I try to explain:
			
				First example:
			
		
		
		For i = 1  To 100
    PROTOCOL_FASE.Bitmap = LoadBitmapSample(Path , filename, 1360dip, 690dip)
Next
			
				Second example:
			
		
		
		For i = 1 To 100
       PROTOCOL_FASE.RemoveView
       PANEL_PROTOCOL.addview(PROTOCOL_FASE,0dip,3dip,1360dip,690dip)
       PROTOCOL_FASE.Initialize("")
       PROTOCOL_FASE.Bitmap = LoadBitmapSample(Path, filename, 1360dip, 690dip)
Next
			
				Third example:
			
		
		
		For i = 1 To 100
      Dim LIMAGE As Bitmap
      LIMAGE.Initialize(Path, filename)
      PROTOCOL_FASE.Initialize("")
      PROTOCOL_FASE.Bitmap = LIMAGE             
NextThere is a way to discard unused images, unload images or free up the memory?
I need to show (sequentially) about 100 images of 500Kb each.
Some suggestion?
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		