Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

unable to obtain mapped memory

alfredobrown
Beginner
565 Views

I'm getting "unable to obtain mapped memory" while building an x64 project with precompiled headers off, this is the pch_diag output:

=== Dumping Virtual Address Space Info ===
Page size: 0000000000001000
Minimum application address: 0000000000010000
Maximum application address: 000007FFFFFEFFFF
Base Address: 0000000000034000 Region Size: 000000000000C000
Base Address: 0000000000041000 Region Size: 000000000000F000
Base Address: 0000000000051000 Region Size: 000000000000F000
Base Address: 0000000000061000 Region Size: 000000000000F000
Base Address: 00000000000D7000 Region Size: 0000000000009000
Base Address: 00000000000E6000 Region Size: 000000000000A000
Base Address: 00000000008F1000 Region Size: 000000000000F000
Base Address: 0000000000901000 Region Size: 000000000001F000
Base Address: 0000000000941000 Region Size: 000000000000F000
Base Address: 0000000000961000 Region Size: 000000000000F000
Base Address: 00000000009A1000 Region Size: 000000000000F000
Base Address: 00000000009C1000 Region Size: 000000000000F000
Base Address: 00000000009E1000 Region Size: 000000000000F000
Base Address: 00000000009F6000 Region Size: 000000000000A000
Base Address: 0000000000C27000 Region Size: 0000000000009000
Base Address: 0000000000D57000 Region Size: 0000000000009000
Base Address: 0000000000D71000 Region Size: 000000000000F000
Base Address: 0000000000DA8000 Region Size: 0000000000008000
Base Address: 0000000000DC1000 Region Size: 000000000000F000
Base Address: 0000000000F68000 Region Size: 0000000000008000
Base Address: 00000000010F1000 Region Size: 000000000000F000
Base Address: 0000000002531000 Region Size: 000000000000F000
Base Address: 0000000002551000 Region Size: 000000000000F000
Base Address: 0000000002571000 Region Size: 000000000000F000
Base Address: 0000000002591000 Region Size: 000000000000F000
Base Address: 00000000025A1000 Region Size: 000000000000F000
Base Address: 0000000002857000 Region Size: 0000000000009000
Base Address: 0000000002A61000 Region Size: 000000000000F000
Base Address: 0000000002C71000 Region Size: 000000000000F000
Base Address: 0000000002CB1000 Region Size: 000000000000F000
Base Address: 0000000002F7F000 Region Size: 0000000000001000
Base Address: 0000000003681000 Region Size: 000000000000F000
Base Address: 0000000003791000 Region Size: 000000000000F000
Base Address: 00000000038A1000 Region Size: 000000000000F000
Base Address: 00000000039B1000 Region Size: 000000002C64F000
Base Address: 00000000376F0000 Region Size: 000000003FEF0000
Base Address: 00000000776DA000 Region Size: 0000000000006000
Base Address: 00000000777FF000 Region Size: 0000000000001000
Base Address: 000000007799F000 Region Size: 0000000000001000
Base Address: 00000000779A7000 Region Size: 0000000007639000
Base Address: 000000007FFF0000 Region Size: 00000000BF050000
Base Address: 0000000142213000 Region Size: 000000000000D000
Base Address: 0000000142221000 Region Size: 000007FD7B34F000
Base Address: 000007FEBD580000 Region Size: 0000000018000000
Base Address: 000007FED55CC000 Region Size: 0000000022A64000
Base Address: 000007FEF8155000 Region Size: 00000000043FB000
Base Address: 000007FEFC553000 Region Size: 0000000000FFD000
Base Address: 000007FEFD5BA000 Region Size: 0000000000156000
Base Address: 000007FEFD7EB000 Region Size: 0000000000005000
Base Address: 000007FEFD9EF000 Region Size: 0000000000081000
Base Address: 000007FEFDB4B000 Region Size: 0000000000CB5000
Base Address: 000007FEFE80E000 Region Size: 0000000000002000
Base Address: 000007FEFE877000 Region Size: 0000000000DC9000
Base Address: 000007FEFF65F000 Region Size: 0000000000001000
Base Address: 000007FEFF78C000 Region Size: 0000000000004000
Base Address: 000007FEFF82F000 Region Size: 0000000000051000
Base Address: 000007FEFF8AE000 Region Size: 0000000000002000
Base Address: 000007FEFF97B000 Region Size: 0000000000065000
Base Address: 000007FEFFAE9000 Region Size: 0000000000017000
Base Address: 000007FEFFB01000 Region Size: 00000001004AF000
Base Address: 000007FFFFFD3000 Region Size: 0000000000007000
Base Address: 000007FFFFFDB000 Region Size: 0000000000003000
Largest Region: 0000000142221000 size: 000007FD7B34F000

Why is it trying to allocate over 8 terabytes of virtual memory?

0 Kudos
3 Replies
RahulV_intel
Moderator
525 Views

Hi,


Could you provide a small reproducer and steps to reproduce your issue? Also, specify your OS and Intel compiler version.


Thanks,

Rahul


RahulV_intel
Moderator
503 Views

Hi,


Just a quick reminder to provide the reproducer code, steps to reproduce, OS, and Intel compiler version.


Thanks,

Rahul


RahulV_intel
Moderator
448 Views

Hi,


I have not heard back from you; we won’t be monitoring this thread. If you need further assistance, please post a new thread. 


Thanks,

Rahul


Reply