What exactly is getting compiled into a class here? Not the map itself, I believe; that wouldn't even cause this error.
>From general clues, the code that builds your config map is being compiled into a method. Without AOT compilation this shouldn't be happening, but I'm surprised it's happening even with AOT. -marko On Monday, March 25, 2013 10:35:33 PM UTC+1, David Powell wrote: > > You might be better off putting the config into a file, and then > "read"-ing it. That way it never gets compiled into a class, and just > stays as a data structure. > > On Mon, Mar 25, 2013 at 9:23 PM, larry google groups > <lawrenc...@gmail.com<javascript:> > > wrote: > >> Are vars subject to Java's 64k limit on methods? I started an app a few >> months ago and I was putting all the config into into a var: >> >> (def app-config >> { >> :cites { >> ;; more here >> } >> >> :slides { >> ;; more here >> } >> :questions { >> ;; more here >> } >> } >> >> >> Then I guess I added too much and I started getting the error regarding >> the 64k limit. Is this expected? >> >> Why can I add more than 64k to a var, but I can not define it that way at >> compile time? >> >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.