Software Archive
Read-only legacy content
17061 Discussions

Xeon Phi: Memory leak?

Minh_H_
Beginner
598 Views

Hi,

I write a rpc-like application to run on Xeon Phi and dynamic link with MKL. However after the program finish (exit), the memory on micsmc is still high, for example, at one of the Xeon Phi nodes the memory usage is of 1172MB.  Howver if I reboot the Xeon Phi, the memory usage after reboot would be of 418MB.  It seems to me that the system has leaking memory problem. How can I recover the memory lost without rebooting Xeon Phi?  Thanks,

 

 

0 Kudos
1 Reply
Frances_R_Intel
Employee
598 Views

Are you creating any files and storing them on the coprocessor? The coprocessor uses a RAM file system. Any files copied to or generated on the coprocessor (excluding those placed in NFS mounted file systems) take up memory. When you reboot the coprocessor, the RAM file system returns to its original base size and any files previously copied to or generated on the coprocessor disappear. I think that is a more likely explanation for what you are seeing.

0 Kudos
Reply