On Tue, May 04, 2010 at 07:53:22PM +0200, Pedro Santos wrote: > Hi, > my application crashes with the following error: > > "Could not allocate register file: 12"
This sounds like an error message from WebKit after it runs out of memory. > The Crash is induced when I create more than 300-400 objects of a > certain class (named "Task") which contains several other objects > (inherenced from QObject) and a QScriptingEngine-Object. I first > thought it could be because of running out of RAM. But "sizeof(Task)" > says that it consumes 40 Bytes of memory. That's the static size of an object of your class. It will likely contain pointers to other "owned" memory, of arbitary size. > And my System is a SuSE Linux 11.2, Core i5 (4 Cores) with 4GB of RAM > and swap-file disabled. On my Laptop (Ubuntu 10.04 Core 2 Duo 3GB RAM, > swap-file diabled) it supprisingly crashes by 800 Objects and above. It pretty much looks like you are running out of memory. Andre' PS: This is a mailing list. You can't cancel messages ;-} _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
