1

Closed

Possible Memory leak in Devantech

description

I've been testing the libraries and keep getting OutOfMemoryException in I2CHardware, in the line:
            _dataPort.Post((byte)_port.ReadByte());
of I2CHardwarePacket. Am I doing something wrong?
I realized that when I execute project in debug the process memory starts climbing and doesn't stop until the OutOfMemoryException.
Is there a memory leak in the libraries?
I'm using Microsoft Robotics Developer Studio 4 and these results happened while testing a simple platform with 2 Sonars and an MD23Hardware and Battery. Currently not using the motor libs since it was my first test and I'm still developing the Arduino sketch to act as a I2C slave connected to the computer through a Serial port.

Thanks in advance, any ideas are appreciated.
Best regards
Paulo Ferro
Closed Aug 15, 2013 at 7:25 PM by erik_oppedijk
no problem

comments

POFerro wrote Jun 8, 2013 at 1:56 AM

Sorry, just realized that it was my problem, I was sending too much data from Arduino so it was being pilled in the serial port unconsumed.

Sorry about the rush, could you please close this issue?
Thanks
Paulo Ferro