[R-pkg-devel] potential memory leak using openMP

Marcin Jurek m@rc|njurek1988 @end|ng |rom gm@||@com
Fri Nov 15 19:33:04 CET 2019


Thanks for the suggestion! I tried but to the same effect: no errors.

On Fri, Nov 15, 2019 at 12:01 PM Ivan Krylov <krylov.r00t using gmail.com> wrote:

> On Fri, 15 Nov 2019 10:49:25 -0600
> Marcin Jurek <marcinjurek1988 using gmail.com> wrote:
>
> > 1) what should I do to reproduce the error?
>
> The following is a quick, unchecked suggestion, but:
>
> `R CMD check <package_name> --use-valgrind` just adds `-d valgrind` to
> the command line, while the report you are seeing can only be obtained
> with `--leak-check=full --show-reachable=yes` added to valgrind options.
>
> What happens if you run `VALGRIND_OPTS='--leak-check=full
> --show-reachable=yes' R CMD check <package_name> --use-valgrind` ?
>
> --
> Best regards,
> Ivan
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list