Go to Post Honestly though, having a cave would be one of the greatest places to build a robot. There's already lack of light and lots of floor space! Well, if you have a good cave sponsor, that is. - Bryce Clegg [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-02-2013, 17:06
crs501 crs501 is offline
Registered User
FRC #3157
 
Join Date: Feb 2013
Location: Rochester
Posts: 1
crs501 is an unknown quantity at this point
Memory Leak in Camera Code

After we are done processing an image from the camera, we use the .free() method. However, on the driver station, under the charts tab, the available RAM for the cRIO always decreases with each picture, but never increases to it's previous level. This leads to us running out of memory and unable to take anymore pictures until we reboot the cRIO. We have moved the variables from the method to the class. We believe we are not saving any references to the image. We have released the underlying pointers. However, the problem remains. Has anyone else encountered this problem and if so, how have you resolved the issue?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi