atayahmet / laravel-nestable

Laravel 5 nested category/menu generator
MIT License
214 stars 52 forks source link

Memory Problem #15

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello, When I want to use this package I get:

Fatal error: Out of memory (allocated 1470103552) (tried to allocate 262144 bytes) in D:\xampp\htdocs\platform\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 621

After remove Nestable\NestableServiceProvider::class problem fixed.

Now How can I use this package.

Note:I change my memory_limit but yet it need more memory.

atayahmet commented 7 years ago

Hello @aghict

I have never encountered such a problem before. Please send example code you used.

ghost commented 7 years ago

Hello, I don't use it just I add in app service provider.

atayahmet commented 7 years ago

Hello again,

When i test it but did not get any memory error. Please check other package dependencies the your project.

ghost commented 7 years ago

Hello, I attached my composer.json Please check it for me. composer.zip

atayahmet commented 7 years ago

There is no my package in composer.json. Everything is normal except.

ghost commented 7 years ago

Yes, I remove it because memory over load. I think there is conflict with other packages just test it.

atayahmet commented 7 years ago

Very interesting case. Package Service Provider is not complicated.

Please check: ServiceProvider (you have already checked)

ghost commented 7 years ago

I don't understand what should I do?

atayahmet commented 7 years ago

There is nothing I can say in this regard. The problem is not in the package can be in your development environment. Try again in a different environment.