This project is read-only.

Memory Corruption

Mar 21, 2013 at 4:37 PM
I'm hitting R many times using C# and at some point, I get memory violation errors. I'm not sure if this is RDotNet or R's problem, but I just found out that R has its own garbage collector. By calling the garbage collector before each iteration of calling R code, i found that I was able to get around the memory violation problems.
May 25, 2013 at 12:13 AM
Thank you for this report.

This sounds a similar issue you encountered to that in https://rdotnet.codeplex.com/discussions/441642. As mentioned in that discussion, this deserves a unit test. If you can provide a small C#/R code illustrating the behavior with/without your workaround, this would be great