Git Product home page Git Product logo

Comments (9)

martinklepsch avatar martinklepsch commented on May 29, 2024

There's a send! function in boot that circumvents these method code limits.
We should probably use that.
On Sat, 9 Apr 2016 at 03:41, Andrea Richiardi [email protected]
wrote:

The title is actually an attempt to an explanation, but it can be
something else.

The exception is the following:

Deploying on bucket devel.clojurescript.io...
Pack source files...
Sifting output files...

         clojure.lang.ExceptionInfo: java.lang.RuntimeException: Method code too large!, compiling:(NO_SOURCE_PATH:0:0)
data: {:file "/tmp/boot.user8095246900604741649.clj", :line 67}

clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Method code too large!, compiling:(NO_SOURCE_PATH:0:0)
java.lang.RuntimeException: Method code too large!
clojure.asm.MethodWriter.getSize MethodWriter.java: 1872
clojure.asm.ClassWriter.toByteArray ClassWriter.java: 775
...
clojure.core/eval core.clj: 3081
boot.pod/eval-in* pod.clj: 437
...
boot.pod/eval-in* pod.clj: 440
confetti.boot-confetti/eval2817/fn/fn/fn boot_confetti.clj: 155
replumb.boot-pack-source/eval2560/fn/fn/fn boot_pack_source.clj: 45
replumb.boot-pack-source/eval2606/fn/fn/fn boot_pack_source.clj: 57
boot.task.built-in/fn/fn/fn/fn built_in.clj: 416
boot.user/eval3014/fn/fn/fn boot.user8095246900604741649.clj: 45
boot.core/run-tasks core.clj: 927
boot.core/boot/fn core.clj: 937
clojure.core/binding-conveyor-fn/fn core.clj: 1916
...

I am basically including the following dependencies:
(def deps '[[org.clojure/clojurescript "1.7.228"]
[org.clojure/core.async "0.2.374"]
[reagent "0.5.1"]
[re-frame "0.5.0"]
[replumb/replumb "0.2.2-SNAPSHOT"]
[org.clojure/tools.reader "1.0.0-alpha3"]])

And the following task:

(core/deftask count-files
[](core/with-pre-wrap fileset
%28util/warn "Fileset count %s" %28count %28tmpdir/ls fileset)))
fileset))

I get Fileset count 1704. Maybe I am pushing it to the limit [image:
😄]


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#22

from confetti.

arichiardi avatar arichiardi commented on May 29, 2024

I can do it, what is this send! about?

from confetti.

arichiardi avatar arichiardi commented on May 29, 2024

Ok I read the issue on Slack.
If I read the code correctly I should wrap (->str fmaps*). Just wanted your ack, I will try anyways. 😄

from confetti.

martinklepsch avatar martinklepsch commented on May 29, 2024

Yes I think that should basically be it. Don't have the code in front of me
but sounds about right 👍
On Sat, 9 Apr 2016 at 21:33, Andrea Richiardi [email protected]
wrote:

Ok I read the issue boot-clj/boot#339 on
Slack.
If I read the code correctly I should wrap (->str fmaps*)
https://github.com/confetti-clj/confetti/blob/master/src/confetti/boot_confetti.clj#L157.
Just wanted your ack, I will try anyways. [image: 😄]


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#22 (comment)

from confetti.

arichiardi avatar arichiardi commented on May 29, 2024

Thanks will try it out

from confetti.

arichiardi avatar arichiardi commented on May 29, 2024

Can I ask you why do you use bootlaces 0.1.14? What bug does it solve that I am not aware of 😄

from confetti.

martinklepsch avatar martinklepsch commented on May 29, 2024

Huh, very valid question, 0.1.14 isn't even released so I probably used some fork locally. 0.1.13 should be fine 👍

from confetti.

arichiardi avatar arichiardi commented on May 29, 2024

Yeah I can patch that as well if you want 😉

from confetti.

martinklepsch avatar martinklepsch commented on May 29, 2024

sure go for it

from confetti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.