I'm working on a electrocardiogram diagram with CocosSharp 2D Lolipop 5.1 API22. I have 332 measures per second. I Draw a 6425 lines polygon 100 times per second. I have a Out Of Memory Error at 82 seconds.
drawNode.DrawPolygon(verts,
count: verts.Length,
fillColor: CCColor4B.Transparent,
borderWidth: 1,
borderColor: lineColor,
closePolygon: false);
verts is a 6425 CCPoint array.
X increment is 0.1 pt. y is between 0 and 4500.
I'm under visual studio Entreprise 2015 Update 2
I test my app with Xamarin Android player
Is there a tools I could use in Visual Studio to analysis my issue ?
I read many issues of Memory Leak with this techno but never in CCDrawNode.