"clear" command doesn't free all memory

Hello,

I’ve encountered a problem with the “clear” command. It doesn’t free memory when used along with pair_style reax/c and two ‘run’ commands in a loop.
I’m attaching a simple input script which shows the problem. I’m using LAMMPS from 6 Nov 2015.

Cheers,
Michal

clear_bug.in (312 Bytes)

Hello,

I've encountered a problem with the "clear" command. It doesn't free memory
when used along with pair_style reax/c and two 'run' commands in a loop.
I'm attaching a simple input script which shows the problem. I'm using
LAMMPS from 6 Nov 2015.

FYI, the issue has nothing to do with clear command, but instead with
the fact, that you are calling run 0 twice.
if i comment out one of them, there is no more memory leak.

now, this is still a bug, but rather an issue of reax/c.

axel.