Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Blue screen RAM full due to image dispose

Hello,

 

I have a a problem with my RAM memory getting to full and my computer gets a blue screen and then crashes. 

 

I am using 2010 LV and Vision Module 2010. 

 

I suspect that images are being stored into RAM memory and are then not deleted. So RAM memory is increasing and after about 200 pictures RAM gets to 3,5GB+.

I know that that I have to dispose the image with image dispose.vi when it is created with image create.vi. But still the RAM capacity is growing. 

 

You can see that the vision assistants are working one after an other, so could that be the problem ? Do vision assistants do their own copies and don't delete them ?

 

Please see the attached GrabF.vi and sub vi.

 

Please advise..

 

Best regards, Marko

 

 

0 Kudos
Message 1 of 3
(3,252 Views)

Please can someone have a look at my code an tell me what am i doing wrong.

 

This is very urgent for me. Why do the images stack up in RAM memory or why do they stil stay in memory ?

 

Thak you for youre answers.

0 Kudos
Message 2 of 3
(3,238 Views)

Dear Marko,

 

I went through your application.

I have seen that you are doing some image processing in a flat sequence structure.

Please group all the functions in subVIs and try to run each subVI and look at memory usage. 

 

1.Is this behaviour happening when a certain limit of RAM is reached?

2. Did you deactivate the swap system?

3. Have you checked your RAM for defects ?

 

Normally, from one express VI to annother the thing you pass is just a reference to the image.

Also I would like, if you have time, to explain what are you trying to do in your application and to try to translate into english the comments, if possible.

 

 

Best regards,

Cristi

Message 3 of 3
(3,215 Views)