[R-pkg-devel] potential memory leak using openMP
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Fri Nov 15 19:01:47 CET 2019
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
More information about the R-package-devel
mailing list