Closed GoogleCodeExporter closed 9 years ago
Original comment by alex.obj...@gmail.com
on 7 Jul 2012 at 2:49
When experiencing the problem, what is the value of the parallePreprocessing
property?
Original comment by alex.obj...@gmail.com
on 7 Jul 2012 at 3:34
I've implemented a fix. Could you check if it works for you with your
application? The fix is available in branch called issue482 (on github).
Original comment by alex.obj...@gmail.com
on 8 Jul 2012 at 12:29
Original comment by alex.obj...@gmail.com
on 8 Jul 2012 at 2:51
I'm not sure where the parallePreprocessing property is set? So it should be
default.
Unit tests breaks for me:
-------------------------------------------------------------------------------
Test set: ro.isdc.wro.model.group.processor.TestPreProcessorExecutor
-------------------------------------------------------------------------------
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.518 sec <<<
FAILURE!
preProcessingInParallelIsFaster(ro.isdc.wro.model.group.processor.TestPreProcess
orExecutor) Time elapsed: 1.475 sec <<< FAILURE!
junit.framework.AssertionFailedError: 609 > 364 + 291.2
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at ro.isdc.wro.model.group.processor.TestPreProcessorExecutor.preProcessingInParallelIsFaster(TestPreProcessorExecutor.java:256)
Original comment by lystoc...@gmail.com
on 9 Jul 2012 at 7:09
Ignore that test for a moment. Skip the tests and let me know if you can
reproduce your problem in branch issue482.
Original comment by alex.obj...@gmail.com
on 9 Jul 2012 at 7:12
There were misspelling in "parallePreprocessing" it should be
"parallelPreprocessing", this is why I couldn't find it. Have just seen in
properties INFO output.
So by default it is:
parallelPreprocessing=false
Tried issue482 branch and it seems fixed the issue.
One notice: on each request now I get:
10:32:16,773 WARN CssImportPreProcessor:98 - Recursive import detected:
ro.isdc.wro.model.resource.Resource@75d129d1[CSS,/assets/stylesheets/application
.css,true]
Can this be lowered to DEBUG if it is needed?
Original comment by lystoc...@gmail.com
on 9 Jul 2012 at 7:46
Sure, I'll update the log level.
Thanks for confirming the fix.
Actually I wasn't able to reproduce the "threads spawning" issue. The problem I
found was a StackOverflowError caused by a recursive include().
Original comment by alex.obj...@gmail.com
on 9 Jul 2012 at 7:50
Original comment by alex.obj...@gmail.com
on 9 Jul 2012 at 8:18
Original issue reported on code.google.com by
lystoc...@gmail.com
on 6 Jul 2012 at 11:13