Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4823 Discussions

FYI: linux process failure from vm.max_map_count overrun

vanswaaij
Beginner
395 Views

 

If a process (running with or without Inspector XE) fails with a insufficient memory error while the machine seems to have plenty left, a vm.max_map_count overrun could be the problem.

Here's how to find out what the per process limit is:

sysctl vm.max_map_count
> vm.max_map_count = 65530

And how to estimate how many mappings your process us using

cat /proc/<process id>/maps | wc -l

I've seen the problem occur for a process (Autodesk's maya) that uses the mmap system call directly for many smallish allocations.

 

0 Kudos
0 Replies
Reply