Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory overflow when using Bootstrap mixins #7

Closed
ghost opened this issue May 8, 2013 · 2 comments
Closed

Memory overflow when using Bootstrap mixins #7

ghost opened this issue May 8, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented May 8, 2013

Hi,
I tryed to use Bootstrap mixins in my custom.less file, importing bootstrap.less :
@import "bootstrap.less";
.gridColumn { .gridColmun(); }

But it's casting an error when I reload pages after to add the mixin in my less file :

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 523800 bytes) in /var/www/ldc-new/plugins/system/less/lessc.php on line 628

I tryed to allow 1024M in my php.ini but no more success...

Did I made a mistake while using Bootstrap mixins like this ?

Sincerely.

@ndeet
Copy link
Owner

ndeet commented May 10, 2013

Hi,

this seems to be related to a bug in lessphp, see leafo/lessphp#412

If the mixin name matches the class name, it crashes. It has been fixed in their master branch 2 days ago. I will wait a few more days if they tag a new release, otherwise I merge above mentioned fix.

@ghost ghost assigned ndeet May 10, 2013
@ghost
Copy link
Author

ghost commented May 11, 2013

Ok, nice also that you find the problem.
I will upgrade as soos as you will publish the fixed release and will test it.

@ndeet ndeet closed this as completed in 7d30b0b Jun 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant