Hi ARubinstein,
I got exactly the same problem with exactly the same class-syntax.
And I get the following error-message while uploading a 300KB jpg-file:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes) in /usr/export/www/hosting/.../wp-admin/includes/image.php on line 138
Nevertheless the file is uploaded but the thumbnail was not created as it should (just checked the upload-folder on my web-space).
OK, I did some more tests.
On my local test-system everything works fine with the same configuration of WordPress. Therefore I tried to upload a smaller pic (100KB) to my weblog and everything worked fine too. So it’s a matter of size!? And a matter of the php-settings of the provider.
Any other solutions would be welcome!
Greets, Alex