https://github.com/emezeske/lein-cljsbuild/issues/271 has a
reproducible case provided by Mimmo that doesn't involve source maps.
(The error emitted by JDK 7 — "GC overhead limit exceeded" — *can* be
significant, i.e. just bumping -Xmx doesn't always work, if the program
in question is allocating in such a way that the GC simply can't keep
up.)
Anyway, bumping the heap to 512m does work for Mimmo's test case. I'll
get a hack into cljsbuild shortly that will allow you to control the
heap of the compilation subprocess via :jvm-opts, but it seems like
there's something else going on if 512m is needed. That the
compilation will succeed after some part of the work is done definitely
points to a leak (or, over-aggressive caching) of some kind.
- Chas
On Fri 22 Nov 2013 11:16:18 AM EST, Mimmo Cosenza wrote:
> Hi David,
> some problem here.
>
> If I switch to cljsbuild 0.3.4 it works, but it use a lot of memory.
> With r2060 (even if there is a dependency on jvm7) the compilation
> works with cljsbuild 1.0.0 too (not the r2030).
>
> I'm start to think (but I did not investigated) that it's not a
> cljsbuild 1.0.0 bug (aside from limiting the heap to 256M, which is
> not so small).
>
> mimmo
>
>
>
> On Nov 22, 2013, at 5:01 PM, David Nolen <
dnolen...@gmail.com
>> <mailto:
clojurescript%2Bunsu...@googlegroups.com>.
>> <mailto:
clojur...@googlegroups.com>.
>> >> Visit this group at
http://groups.google.com/group/clojurescript.
>>
>>
>> --
>> Moritz Ulrich
>>
>>
>>
>> --
>> Note that posts from new members are moderated - please be patient
>> with your first post.
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to
clojurescrip...@googlegroups.com
>> <mailto:
clojurescrip...@googlegroups.com>.
>> <mailto:
clojur...@googlegroups.com>.