Import file error? Can't install 5.7.0.4

Permalink
I try install the Ver.5.7.0.4 on shared hosting server.
But, It stop import file of starting point ( sample data ).
Anyone have solution or hint of it?

#0 /home/users/2/hiho.jp-c57test/web/concrete/src/Support/Facade/Facade.php(113): Imagine\Imagick\Imagine->load('\xFF\xD8\xFF\xE1\x02\x8AExif\x00\x00II*...') 
#1 /home/users/2/hiho.jp-c57test/web/concrete/src/File/Version.php(768): Concrete\Core\Support\Facade\Facade::__callStatic('load', Array) 
#2 /home/users/2/hiho.jp-c57test/web/concrete/src/File/Version.php(768): Concrete\Core\Support\Facade\Image::load('\xFF\xD8\xFF\xE1\x02\x8AExif\x00\x00II*...') 
#3 /home/users/2/hiho.jp-c57test/web/concrete/src/File/Type/Inspector/ImageInspector.php(23): Concrete\Core\File\Version->rescanThumbnails() 
#4 /home/users/2/hiho.jp-c57test/web/concrete/src/File/Version.php(878): Concrete\Core\File\Type\Inspector\ImageInspector->inspect(Object(Concrete\Core\File\Version)) 
#5 /home/users/2/hiho.jp-c57test/web/concrete/src/File/Importer.php(125): Concrete\Core\File\Version->refreshAttributes() 
#6 /home/users/2/hiho.jp-c57test/web/concrete/src/Package/StartingPointPackage.php(174): Concrete\Core\File\Importer->import('/home/users/2/h...', 'shoes.jpg') 
#7 [internal function]: Concrete\Core\Package\StartingPointPackage->import_files() 
#8 /home/users/2/hiho.jp-c57test/web/concrete/controllers/install.php(261): call_user_func(Array) 
#9 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'import_files') 
#10 /home/users/2/hiho.jp-c57test/web/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) 
#11 /home/users/2/hiho.jp-c57test/web/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) 
#12 /home/users/2/hiho.jp-c57test/web/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) 
#13 /home/users/2/hiho.jp-c57test/web/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) 
#14 /home/users/2/hiho.jp-c57test/web/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array)

Tao
View Replies:
roferix replied on at Permalink Reply
roferix
Same error...

Second try without installing the samples works!

Rochus
Tao replied on at Permalink Reply
Tao
I solved this problem.
The cause of this bug is ImageMagick.
ImageMagick have memory leak bug.

Try this: /concrete/src/Support/Facade/Image.php
<?php
namespace Concrete\Core\Support\Facade;
class Image extends Facade
{
    public static function getFacadeAccessor()
    {
/*
        if (class_exists('Imagick')) {
            try {
                $imagick = new \Imagick();
                $v = $imagick->getVersion();
                list($version, $year, $month, $day, $q, $website) = sscanf(
                    $v['versionString'],
                    'ImageMagick %s %04d-%02d-%02d %s %s');
                if (version_compare($version, '6.2.9') >= 0) {
hissy replied on at Permalink Reply
hissy
tsdonohue5 replied on at Permalink Reply
Thanks! had same error on 'importing files' but this comment of this function got me past it.
andrew replied on at Permalink Reply
andrew
In the meantime we're disabling Imagick support until we can figure out a good way to detect and sidestep this problem.