bertramdev / grails-asset-pipeline

Grails Asset Pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Ignore PDF processing, gzip, etc but still include them ?

acidjames opened this issue · comments

commented

Hello,

i'm running into some problem with PDF files, as i have a high quantity of them in /assets/pdf, when running package, the processing can't execute properly because of a memory issue

`Execution failed for task ':assetCompile'.

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space`

I've tried different combinations of Java memory options to no avail (-Xmx, -Xms etc)

The problem appears to be the number and size of these PDFs, some are 100mb. I've tried to set enableGzip to false but still encounter the same memory error.

Is there a way to just copy the files ? Should i store them somewhere else ?

Thanks in advance,

commented

fixed: I've decided to manage my pdfs outside of grails.