Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

FYI: linux process failure from vm.max_map_count overrun

vanswaaij
Beginner
632 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