Hello,
if you got an "out of memory exception" while creating graphic objects (like bitmaps) you can enlarge video memory size using the hidden bootloader command "XDS" (if available:). I saw this issue only while using .NET assume it is caused because a lot of temporary buffers are involved.