Closed eresre closed 12 years ago
Thanks for reporting this issue.
I need your help to isolate the problem, can you step by step remove some of the resource files (js, css) from greenscript and see if it's caused by a certain js/css file or greenscript occupies lots of memory by itself. Also need to check if there is circular dependencies chain, for example a.js < b.js < c.js < d.js < ... < a.js
What if you downgrade to greenscript 1.2.7 and then 1.2.6 and try again? Need to understand if this problem is caused by google closure or some other changes.
On Sat, May 12, 2012 at 2:15 AM, eresre < reply@reply.github.com
wrote:
Hi, I have an application with this configuration:
- Play Framework 1.2.4
- Greenscript 1.2.8b
- Ubuntu 10.04 with 512Mb (RAM) 1024 (SWAP) .
- Virtual machine is: Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
When I activate in the application.conf this property:
module.greenscript=${play.path}/modules/greenscript-1.2.8b
The application crash because when it's compiling it begin to get memory since consume all system memory. In this moment Ubuntu kill the application, if i don't have this property activated the application wells ok and the free memory is 150MB (RAM) and 800MB (SWAP)
Thanks.
Reply to this email directly or view it on GitHub: https://github.com/greenlaw110/greenscript/issues/47
Cuold be because greenscript it's trying to compress/minimize javascripts that are not mine, like these?
public/javascripts/lib/bootstrap-twipsy.js public/javascripts/lib/jquery.fancybox.pack.js
If I only want to compress/minimize only some scripts, only developed by us, what I have to do?
I don't have dependencies between javascripts, I guess...
Thanks!
If I use greenscript 1.2.7 I don't get the error, seems that works well.
Bye.
Hi, I have an application with this configuration:
When I activate in the application.conf this property:
module.greenscript=${play.path}/modules/greenscript-1.2.8b
The application crash because when it's compiling it begin to get memory since consume all system memory. In this moment Ubuntu kill the application, if i don't have this property activated the application wells ok and the free memory is 150MB (RAM) and 800MB (SWAP)
Thanks.