based on the fact that the crash never seemed to have happened with default screen resolutions and also inspired by the only other getmem usage in the code I came up with this simple solution which seems to work just fine.
I do not understand why getmem seems to need this, but well - feel free to explain.
######################################################################
# Automatically generated by qmake (2.01a) ?? 23. ??? 20:44:46 2007
######################################################################
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += mainform.h pixlabel.h
SOURCES += main.cpp mainform.cpp pixlabel.cpp