There aren’t two different messages in Julia, it’s only one:
OutOfMemoryError()is a Julia error which indicates that you tried to allocate an object which Julia was able to determine would use too much memory, and it prevented you from doing itKilledis a message from your operating system to inform you that it terminated the Julia process.