While following this tutorial on how to use panda3d with python and code a simple 3d arcade flight game, I got an error when running the code from Issue 5 loading some 2d GUI Images. The error report in the console said:
Out of memory allocating 4016 bytes
Process finished with exit code 134
After quite a bit of googling, I still cannot tell why this happens. The GUI elements are just a few kilobytes, and the way larger files are loaded without any problems.
I am using panda3d v1.9 with python 2.7 on lubuntu (4gb RAM installed).
Any help is greatly appeciated.
The complete sourcecode with images can be found here