Help debugging an core.exception.OutOfMemoryError

Danny Arends Danny.Arends at gmail.com
Thu Mar 22 09:45:45 UTC 2018


Hey all,

When running a D program that i wrote (32bit mode, windows10), an 
OutOfMemory exception being thrown when executing the program:

core.exception.OutOfMemoryError at src\core\exception.d(702): Memory 
allocation failed

However there is no stack trace being generated (due to the 
program being out of memory).

How do I figure out where in the user code the out of memory 
error is coming from/occurring ?

Thanks in advance,
Danny

ps. Using Linux 64bit, this error does not occur


More information about the Digitalmars-d-learn mailing list