-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boot.pod/with-eval-in -> Method code too large! #339
Comments
@podviaznikov hi! i was just starting to work on this! |
I'm going to try using input streams instead of strings to pass the information from pod to pod. |
@micha thanks! good to hear |
+1 |
Test case: #!/usr/bin/env boot (require '[boot.pod :as pod]) (def p (pod/make-pod)) (def x (into [] (range 0 1000000))) (prn (pod/with-eval-in p (count ~x))) This fails with "RuntimeException: Class file too large!" #!/usr/bin/env boot (require '[boot.pod :as pod]) (def p (pod/make-pod)) (def x (into [] (range 0 1000000))) (prn (pod/with-eval-in p (count ~(pod/send! x)))) This works, no problem.
@podviaznikov Can you please try with latest master branch? See commit message for how to do it. Is this solution acceptable? |
@micha how can I run boot#master locally? |
I see, there are instructions for that https://github.com/boot-clj/boot#hacking-boot |
Hmm, I'm still getting:
Not sure if I updated boot correctly, but it seems that I'm.
|
@podviaznikov and you're using the new |
@micha no, I didn't. Missed that part. Trying now |
It works now! |
Great! I'll close this ticket. I think there might be a more clever way to do this so that you don't need to explicitly call the |
Yeah, that works for me. That is why I didn't try to use |
I'm getting
When calling
(boot.pod/with-eval-in (boot.pod/make-pod) ...)
with moderate size function.More details hashobject/perun#49.
What would be the best way to fix this?
The text was updated successfully, but these errors were encountered: