Out of memory. Program aborted

101 views
Skip to first unread message

Ashish Gahlot

unread,
Jul 12, 2021, 3:04:51 AM7/12/21
to DynamoRIO Users

Hi,

I have been trying to use drrun.exe both the latest compiled version which at this time is DynamoRIO-Windows-8.0.18816.zip and also build using source but I'm getting this error as a pop-up box

Out of memory.  Program aborted.  Source I, type 0x0000000000000001, code 0x00000000c000001c.>

I just tried to execute this command

drrun.exe notepad.exe

The Windows version I'm using is

Version    10.0.19042 Build 19042

sharma...@google.com

unread,
Aug 31, 2021, 1:10:14 PM8/31/21
to DynamoRIO Users
Hi,
The error can be decoded by looking at the source of the log: see documentation for source, type and code. It seems that your error is due to failure to reserve memory at init time. The code (0x00000000c000001c) is a bit weird though, but it seems to be for unreachable special heap and stack. Try using a lower init value for settings like vm_heap, stack_size and prof_pcs_heap_size (which uses special heap) at https://github.com/DynamoRIO/dynamorio/blob/89841a1463ee5348d34ed6d0b6bb296b868da630/core/optionsx.h#L1582.

Let me know if this helps.

Abhinav
Reply all
Reply to author
Forward
0 new messages